espresso:~/daily/gnulib/dummy-0/gltests jas$ ./test-ldexpl test-ldexpl.c:99: assertion failed Abort trap espresso:~/daily/gnulib/dummy-0/gltests jas$
The code reads: x = 1.73205L; y = ldexpl (x, 0); ASSERT (y == x); Printing the values yield: x 1.732050 y -0.000000 I guess the Mac OS X 10.4 ldexpl implementation doesn't handle zero exponents properly? /Simon configure:63837: checking whether ldexpl() can be used without linking with libm configure:63865: gcc -std=gnu99 -o conftest -g -O2 -I/opt/local/include conftest.c >&5 configure:63872: $? = 0 configure:63893: result: yes configure:63967: checking whether ldexpl works configure:64002: gcc -std=gnu99 -o conftest -g -O2 -I/opt/local/include conftest.c >&5 configure:64006: $? = 0 configure:64012: ./conftest configure:64016: $? = 0 configure:64034: result: yes configure:64051: checking whether ldexpl is declared configure:64081: gcc -std=gnu99 -c -g -O2 -I/opt/local/include conftest.c >&5 configure:64088: $? = 0 configure:64103: result: yes