[
https://issues.apache.org/activemq/browse/AMQCPP-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish resolved AMQCPP-181.
---------------------------------
Resolution: Fixed
Resolved in trunk and in RC2 tag. Commented out the unused math functions for
now.
> Failed unit tests in 2.2 RC1
> ----------------------------
>
> Key: AMQCPP-181
> URL: https://issues.apache.org/activemq/browse/AMQCPP-181
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Environment: OS X (x86)
> Reporter: Nathan Mittler
> Assignee: Nathan Mittler
> Fix For: 2.2
>
>
> I checked out the tag on OS X and built and ran the unit tests. Everything
> builds cleanly, but I did notice a couple of failed unit tests (both in
> MathTest):
> 1) test: decaf::lang::MathTest::test_hypot_DD (F) line: 262
> decaf/lang/MathTest.cpp
> equality assertion failed
> - Expected: 1.79769313486232e+308
> - Actual : inf
> - Should return 1.7976931348623157E308
> 2) test: decaf::lang::MathTest::test_tanD (F) line: 567
> decaf/lang/MathTest.cpp
> equality assertion failed
> - Expected: 1.5574077246549
> - Actual : 1.5574077246549
> - Incorrect answer
> Generally, these are just bothersome errors that probably don't need a lot of
> attention. The second one seems to just be an error in some far off decimal
> place. We can take care of that by just multiplying the values and casting
> to long before comparing. The first is a little trickier - I'm not sure what
> the fix is. Perhaps an temporary solution is to just #ifdef it out for OS X?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.