Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

long double formatting unit test failure on powerpc architecture #180

Closed
jackyf opened this issue Jun 20, 2015 · 1 comment
Closed

long double formatting unit test failure on powerpc architecture #180

jackyf opened this issue Jun 20, 2015 · 1 comment

Comments

@jackyf
Copy link

jackyf commented Jun 20, 2015

From the unit test run [1]:

----------------------8<-----------------------
[ RUN ] FormatterTest.FormatLongDouble
/«BUILDDIR»/cppformat-1.1.0+ds/test/format-test.cc:1166: Failure
Value of: format("{0:+010.4g}", 392.65l)
Actual: "+0000392.7"
Expected: "+0000392.6"
[ FAILED ] FormatterTest.FormatLongDouble (0 ms)
---------------------->8-----------------------

I don't know whether this is an issue of flags or a compiler or the architecture or the test or the implementation. Please have a look.

[1] https://buildd.debian.org/status/fetch.php?pkg=cppformat&arch=powerpc&ver=1.1.0%2Bds-3&stamp=1434716610

@vitaut
Copy link
Contributor

vitaut commented Jun 23, 2015

Should be fixed in 948317b. Thanks for reporting.

@vitaut vitaut closed this as completed Jun 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants