result of tanh is more precise than double 675 out of 792 times 0 errors <= 1% worse in accum, 0 <= 10%,0 <= 100%, 18 > 100% 55 results were exact to double the precision 20 largest ulp errors (from result in accumulator) 0.19336 ulp for tanh(-2.4412949573004994e-17) = -2.4412949573004994e-17) 0.18115 ulp for tanh(2.36167540190734825e-17) = 2.36167540190734825e-17) 0.14795 ulp for tanh(2.131278638017875e-17) = 2.131278638017875e-17) 0.09766 ulp for tanh(1.73654681745460964e-17) = 1.73654681745460964e-17) 0.08301 ulp for tanh(-1.59669961696806684e-17) = -1.59669961696806684e-17) 0.07178 ulp for tanh(1.05419420304286859e-17) = 1.05419420304286859e-17) 0.05127 ulp for tanh(8.85344642043150997e-18) = 8.85344642043150997e-18) 0.01953 ulp for tanh(-3.89924048604939345e-18) = -3.89924048604939345e-18) 0.01953 ulp for tanh(-3.87831873283062122e-18) = -3.87831873283062122e-18) 0.01318 ulp for tanh(2.24773639700970319e-18) = 2.24773639700970319e-18) 0.00115 ulp for tanh(0.350766107600044952) = 0.337054792830232042) 0.00101 ulp for tanh(-0.50081992140000986) = -0.462761738210254736) 0.00098 ulp for tanh(0.483933816199999922) = 0.449388535461423266) 0.00098 ulp for tanh(-0.500819921400009083) = -0.46276173821025407) 0.00097 ulp for tanh(0.54930614433405478) = 0.499999999999999944) 0.00094 ulp for tanh(-0.405175646400121992) = -0.384368715231473479) 0.00091 ulp for tanh(0.483933816200001032) = 0.449388535461424155) 0.00091 ulp for tanh(-0.250596107799998025) = -0.245478930722821759) 0.00090 ulp for tanh(-0.250782692399998897) = -0.245654263719732424) 0.00087 ulp for tanh(-0.231511231199966222) = -0.227461885706644634) 20 largest ulp errors (stored in a double) 0.50048 ulp for tanh(0.35076610760000293) = 0.337054792830194794) 0.50047 ulp for tanh(-0.672368905199984823) = -0.586535985955549677) 0.50044 ulp for tanh(-0.732244161799990967) = -0.624436384990483262) 0.50031 ulp for tanh(0.196586753200000658) = 0.194092844712686952) 0.50029 ulp for tanh(0.118152693199994607) = 0.117605939894671024) 0.50028 ulp for tanh(0.469520640807362721) = 0.43781192019568449) 0.50022 ulp for tanh(0.085702194599987222) = 0.0854929855073136014) 0.50021 ulp for tanh(-0.250596107799993417) = -0.245478930722817457) 0.50019 ulp for tanh(-0.618849087000021725) = -0.550326188020387352) 0.50017 ulp for tanh(4.45312107687406566) = 0.999728956302371241) 0.50017 ulp for tanh(0.350766107600044952) = 0.337054792830232042) 0.50017 ulp for tanh(-3.50764486532366249) = -0.998205520359010778) 0.50016 ulp for tanh(-0.426553728000016508) = -0.402437191483116963) 0.50015 ulp for tanh(-5.72679684746501749) = -0.999978777680544439) 0.50015 ulp for tanh(0.691743795199986411) = 0.599101077038572072) 0.50014 ulp for tanh(0.11815269319997454) = 0.117605939894651235) 0.50014 ulp for tanh(0.0481577225999906891) = 0.0481205285150698714) 0.50013 ulp for tanh(0.810735118400119581) = 0.669995587277284699) 0.50013 ulp for tanh(-0.479878203800091552) = -0.446146062434039148) 0.50012 ulp for tanh(-5.72679684745978612) = -0.999978777680544217) tanh7920.500480.350766107600002930.337054792830194794