CVSROOT:        /cvs
Module name:    src
Changes by:     marty...@cvs.openbsd.org        2009/07/25 05:38:10

Modified files:
        include        : math.h 
        lib/libm       : Makefile shlib_version 
Added files:
        lib/libm/noieee_src: n_scalbln.c 
        lib/libm/src   : s_scalbln.c 

Log message:
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@

Reply via email to