Jukka, #include fenv.h as part of this seems to have caused build.sh to break on arch evbmips64-eb
> In file included from > /home/cliff/netbsd/NetBSD-current/usr/src/tests/lib/libc/s > tdlib/t_strtod.c:38: > /home/cliff/netbsd/NetBSD-current/build/evbmips64-eb-20110510/dest/usr/include/f > env.h:29:2: error: #error "fenv.h is currently not supported for this > architectu > re" > /home/cliff/netbsd/NetBSD-current/build/evbmips64-eb-20110510/dest/usr/include/f > env.h:35:26: error: machine/fenv.h: No such file or directory > nbmkdep: compile failed. > *** [t_strtod.d] Error code 1 > do we need #ifdef Honor_FLT_ROUNDS around that include? -cliff- On May 10, 2011, at 8:20 AM, Jukka Ruohonen wrote: > Module Name: src > Committed By: jruoho > Date: Tue May 10 15:20:19 UTC 2011 > > Modified Files: > src/tests/lib/libc/stdlib: t_strtod.c > > Log Message: > Verify that strtod(3) honors the current rounding mode set by fesetround(3). > Passes on amd64. Prompted by a bug in the GNU C library. > > > To generate a diff of this commit: > cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libc/stdlib/t_strtod.c > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. >