Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Feb 2017 07:20:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216770] lang/julia: fails to build with clang 4.0
Message-ID:  <bug-216770-13-jnHx5xhUwL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216770-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216770-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216770

--- Comment #3 from Iblis Lin <iblis@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@clang40-dev:~ % cat test.c
#include <stdio.h>      /* printf, NULL */
#include <stdlib.h>     /* strtod */

int main ()
{
  char str[] =3D "1.0633823966279327e37";
  char* end;
  double d;
  d =3D strtod (str, &end);
  printf("%f\n", d);
  return 0;
}
julia@clang40-dev:~ % cc test.c
julia@clang40-dev:~ % ./a.out=20
10633823966279321080272352895186239488.000000

----
"1.0633823966279327e37" and
 1 0633823966279321080272352895186239488

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216770-13-jnHx5xhUwL>