[ 
https://issues.apache.org/jira/browse/MESOS-4045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15038473#comment-15038473
 ] 

Cong Wang commented on MESOS-4045:
----------------------------------

Hmm, this is an inconsistence of libstdc++ impl:

{noformat}
The hexadecimal floating-point constants (e.g. 0x1p-5, 0x1.0Ap-2, 0x1.8p-1), 
which are allowed in the
C programming language, cannot be used as floating point literals in C++ 
(although some C++
compilers might interpret them).
{noformat}

I am trying to find a workaround for this.

> NumifyTest.HexNumberTest fails
> ------------------------------
>
>                 Key: MESOS-4045
>                 URL: https://issues.apache.org/jira/browse/MESOS-4045
>             Project: Mesos
>          Issue Type: Bug
>          Components: stout
>         Environment: Mac OS X 10.11.1
>            Reporter: Michael Park
>
> {noformat}
> [==========] Running 1 test from 1 test case.
> [----------] Global test environment set-up.
> [----------] 1 test from NumifyTest
> [ RUN      ] NumifyTest.HexNumberTest
> ../../../../3rdparty/libprocess/3rdparty/stout/tests/numify_tests.cpp:44: 
> Failure
> Value of: numify<double>("0x10.9").isError()
>   Actual: false
> Expected: true
> [  FAILED  ] NumifyTest.HexNumberTest (0 ms)
> [----------] 1 test from NumifyTest (0 ms total)
> [----------] Global test environment tear-down
> [==========] 1 test from 1 test case ran. (0 ms total)
> [  PASSED  ] 0 tests.
> [  FAILED  ] 1 test, listed below:
> [  FAILED  ] NumifyTest.HexNumberTest
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to