Returns the highest precision for floats in bits (e.g. 16 or 32)
()
| 144 | } |
| 145 | /** Returns the highest precision for floats in bits (e.g. 16 or 32) */ |
| 146 | floatPrecision(): 16|32 { |
| 147 | return notYetImplemented('floatPrecision'); |
| 148 | } |
| 149 | /** Returns the smallest representable number. */ |
| 150 | epsilon(): number { |
| 151 | return this.floatPrecision() === 32 ? EPSILON_FLOAT32 : EPSILON_FLOAT16; |
no test coverage detected