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