github.com/aykevl/tinygo@v0.5.0/testdata/math.txt (about) 1 n: +3.000000e-001 2 asin: +3.046927e-001 3 asinh: +2.956730e-001 4 acos: +1.266104e+000 5 acosh: NaN 6 atan: +2.914568e-001 7 atanh: +3.095196e-001 8 atan2: +9.827937e-001 9 cbrt: +6.694330e-001 10 ceil: +1.000000e+000 11 cos: +9.553365e-001 12 cosh: +1.045339e+000 13 erf: +3.286268e-001 14 erfc: +6.713732e-001 15 exp: +1.349859e+000 16 expm1: +3.498588e-001 17 exp2: +1.231144e+000 18 floor: +0.000000e+000 19 frexp: +6.000000e-001 -1 20 hypot: +6.708204e-001 21 ldexp: +1.200000e+000 22 log: -1.203973e+000 23 log1p: +2.623643e-001 24 log10: -5.228787e-001 25 log2: -1.736966e+000 26 max: +1.300000e+000 27 min: +3.000000e-001 28 mod: +3.000000e-001 29 modf: +0.000000e+000 +3.000000e-001 30 pow: +6.968453e-001 31 remainder: -2.000000e-001 32 sin: +2.955202e-001 33 sinh: +3.045203e-001 34 tan: +3.093362e-001 35 tanh: +2.913126e-001 36 trunc: +0.000000e+000 37 n: +1.500000e+000 38 asin: NaN 39 asinh: +1.194763e+000 40 acos: NaN 41 acosh: +9.624237e-001 42 atan: +9.827937e-001 43 atanh: NaN 44 atan2: +1.438245e+000 45 cbrt: +1.144714e+000 46 ceil: +2.000000e+000 47 cos: +7.073720e-002 48 cosh: +2.352410e+000 49 erf: +9.661051e-001 50 erfc: +3.389485e-002 51 exp: +4.481689e+000 52 expm1: +3.481689e+000 53 exp2: +2.828427e+000 54 floor: +1.000000e+000 55 frexp: +7.500000e-001 1 56 hypot: +3.354102e+000 57 ldexp: +6.000000e+000 58 log: +4.054651e-001 59 log1p: +9.162907e-001 60 log10: +1.760913e-001 61 log2: +5.849625e-001 62 max: +2.500000e+000 63 min: +1.500000e+000 64 mod: +1.500000e+000 65 modf: +1.000000e+000 +5.000000e-001 66 pow: +1.837117e+000 67 remainder: -2.000000e-001 68 sin: +9.974950e-001 69 sinh: +2.129279e+000 70 tan: +1.410142e+001 71 tanh: +9.051483e-001 72 trunc: +1.000000e+000 73 n: +2.600000e+000 74 asin: NaN 75 asinh: +1.683743e+000 76 acos: NaN 77 acosh: +1.609438e+000 78 atan: +1.203622e+000 79 atanh: NaN 80 atan2: +1.494024e+000 81 cbrt: +1.375069e+000 82 ceil: +3.000000e+000 83 cos: -8.568888e-001 84 cosh: +6.769006e+000 85 erf: +9.997640e-001 86 erfc: +2.360344e-004 87 exp: +1.346374e+001 88 expm1: +1.246374e+001 89 exp2: +6.062866e+000 90 floor: +2.000000e+000 91 frexp: +6.500000e-001 2 92 hypot: +5.813777e+000 93 ldexp: +1.040000e+001 94 log: +9.555114e-001 95 log1p: +1.280934e+000 96 log10: +4.149733e-001 97 log2: +1.378512e+000 98 max: +3.600000e+000 99 min: +2.600000e+000 100 mod: +2.600000e+000 101 modf: +2.000000e+000 +6.000000e-001 102 pow: +1.199308e+001 103 remainder: -2.000000e-001 104 sin: +5.155014e-001 105 sinh: +6.694732e+000 106 tan: -6.015966e-001 107 tanh: +9.890274e-001 108 trunc: +2.000000e+000 109 n: -1.100000e+000 110 asin: NaN 111 asinh: -9.503469e-001 112 acos: NaN 113 acosh: NaN 114 atan: -8.329813e-001 115 atanh: NaN 116 atan2: -1.390943e+000 117 cbrt: -1.032280e+000 118 ceil: -1.000000e+000 119 cos: +4.535961e-001 120 cosh: +1.668519e+000 121 erf: -8.802051e-001 122 erfc: +1.880205e+000 123 exp: +3.328711e-001 124 expm1: -6.671289e-001 125 exp2: +4.665165e-001 126 floor: -2.000000e+000 127 frexp: -5.500000e-001 1 128 hypot: +2.459675e+000 129 ldexp: -4.400000e+000 130 log: NaN 131 log1p: NaN 132 log10: NaN 133 log2: NaN 134 max: -1.000000e-001 135 min: -1.100000e+000 136 mod: -1.000000e-001 137 modf: -1.000000e+000 -1.000000e-001 138 pow: NaN 139 remainder: -2.000000e-001 140 sin: -8.912074e-001 141 sinh: -1.335647e+000 142 tan: -1.964760e+000 143 tanh: -8.004990e-001 144 trunc: -1.000000e+000 145 n: -3.100000e+000 146 asin: NaN 147 asinh: -1.849604e+000 148 acos: NaN 149 acosh: NaN 150 atan: -1.258754e+000 151 atanh: NaN 152 atan2: -1.506369e+000 153 cbrt: -1.458100e+000 154 ceil: -3.000000e+000 155 cos: -9.991352e-001 156 cosh: +1.112150e+001 157 erf: -9.999884e-001 158 erfc: +1.999988e+000 159 exp: +4.504920e-002 160 expm1: -9.549508e-001 161 exp2: +1.166291e-001 162 floor: -4.000000e+000 163 frexp: -7.750000e-001 2 164 hypot: +6.931811e+000 165 ldexp: -1.240000e+001 166 log: NaN 167 log1p: NaN 168 log10: NaN 169 log2: NaN 170 max: -2.100000e+000 171 min: -3.100000e+000 172 mod: -1.000000e+000 173 modf: -3.000000e+000 -1.000000e-001 174 pow: NaN 175 remainder: -2.000000e-001 176 sin: -4.158066e-002 177 sinh: -1.107645e+001 178 tan: +4.161665e-002 179 tanh: -9.959494e-001 180 trunc: -3.000000e+000 181 n: -3.800000e+000 182 asin: NaN 183 asinh: -2.045028e+000 184 acos: NaN 185 acosh: NaN 186 atan: -1.313473e+000 187 atanh: NaN 188 atan2: -1.518213e+000 189 cbrt: -1.560491e+000 190 ceil: -3.000000e+000 191 cos: -7.909677e-001 192 cosh: +2.236178e+001 193 erf: -9.999999e-001 194 erfc: +2.000000e+000 195 exp: +2.237077e-002 196 expm1: -9.776292e-001 197 exp2: +7.179365e-002 198 floor: -4.000000e+000 199 frexp: -9.500000e-001 2 200 hypot: +8.497058e+000 201 ldexp: -1.520000e+001 202 log: NaN 203 log1p: NaN 204 log10: NaN 205 log2: NaN 206 max: -2.800000e+000 207 min: -3.800000e+000 208 mod: -1.000000e+000 209 modf: -3.000000e+000 -8.000000e-001 210 pow: NaN 211 remainder: -2.000000e-001 212 sin: +6.118579e-001 213 sinh: -2.233941e+001 214 tan: -7.735561e-001 215 tanh: -9.989996e-001 216 trunc: -3.000000e+000