summaryrefslogtreecommitdiffstats
path: root/lib/libm/src/s_scalbln.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* int is big enough to fully represent exponents of all supported fpmartynas2009-07-251-0/+42
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@