diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2009-07-25 11:38:11 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2009-07-25 11:38:11 +0000 |
commit | 0d8dbd21adf13965256d41cc1effb7147d3b7c5e (patch) | |
tree | 8e5b9a793c4ffe1f05950a0b39cf7cd5cb812161 /sys/dev/raidframe/rf_paritylogging.c | |
parent | e7d864b23704eb225a4baef0139290e9cfba8573 (diff) |
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@
Diffstat (limited to 'sys/dev/raidframe/rf_paritylogging.c')
0 files changed, 0 insertions, 0 deletions