simplify scalbn*.c implementations
authornsz <nsz@port70.net>
Mon, 19 Mar 2012 09:54:07 +0000 (10:54 +0100)
committernsz <nsz@port70.net>
Mon, 19 Mar 2012 09:54:07 +0000 (10:54 +0100)
commit8051e08e10d2b739fcfcbc6bc7466e8d77fa49f1
treecebd3ef5505965af3d75f093cf646ea6b99da3bd
parentf767aba8afe84d6117c7c0376122a5ff704a69df
simplify scalbn*.c implementations

The old scalbn.c was wrong and slow, the new one is just slow.
(scalbn(0x1p+1023,-2097) should give 0x1p-1074, but the old code gave 0)
src/math/scalbn.c
src/math/scalbnf.c
src/math/scalbnl.c