/ exp accepts its argument and returns its result
/ in fr0. The carry bit is set if the result overflows.
/ The coefficients are #1067 from Hart & Cheney.
modf log2e,fr0 /exp(x) = 2^(x*log2(e))
movfi fr1,-(sp) /save integer part
movf fr0,fr1 / -.5 < x < +.5
divf fr1,fr0 /(Q+xP)/(Q-xP)
P0: 42675; 36404; 77563; 46675
P1: 41241; 116724; 114237; 60333
P2: 36675; 27102; 125560; 136652
Q0: 43210; 100661; 76072; 62453
Q1: 42151; 27450; 75350; 112503
log2e: 40270; 125073; 24534; 13761
sqrt2: 40265; 02363; 31771; 157144
big: 77777; 177777; 177777; 177777
/ P0 = .15139 06799 05433 89158 94328 d4
/ P1 = .20202 06565 12869 27227 886 d2
/ P2 = .23093 34775 37502 33624 d-1
/ Q0 = .43682 11662 72755 84984 96814 d4
/ Q1 = .23318 42114 27481 62379 0295 d3
/ log2e = 1.44269 50408 88963 40735 99246
/ sqrt2 = 1.41421 35623 73095 04880 16887