[Bug 216770] lang/julia: fails to build with clang 4.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Feb 8 07:20:28 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216770
--- Comment #3 from Iblis Lin <iblis at hs.ntnu.edu.tw> ---
(In reply to Jan Beich (mail not working) from comment #1)
we got weird behavior of `strtod`:
Quote from
https://github.com/JuliaLang/julia/issues/20454#issuecomment-278240419
julia at clang40-dev:~ % cat test.c
#include <stdio.h> /* printf, NULL */
#include <stdlib.h> /* strtod */
int main ()
{
char str[] = "1.0633823966279327e37";
char* end;
double d;
d = strtod (str, &end);
printf("%f\n", d);
return 0;
}
julia at clang40-dev:~ % cc test.c
julia at clang40-dev:~ % ./a.out
10633823966279321080272352895186239488.000000
----
"1.0633823966279327e37" and
1 0633823966279321080272352895186239488
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list