Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_4_7
Revision 1.26 / (download) - annotate - [select for diffs], Sat Jul 25 11:38:09 2009 UTC (14 years, 10 months ago) by martynas
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.25: +1 -7 lines
Diff to previous 1.25 (colored)
int is big enough to fully represent exponents of all supported fp formats. which even for 80-bit & 128-bit long doubles is only 15 bits. therefore, scalbln, scalblnf, scalblnl are essentially the same as scalbn, scalbnf, scalbnl with bounds checking so that LONG_MIN..INT_MIN, and INT_MAX..LONG_MAX ranges properly raise exceptions & yield correct values. looks good to millert@