(buf, value, offset, littleEndian, noAssert)
| 4086 | } |
| 4087 | |
| 4088 | function writeFloat (buf, value, offset, littleEndian, noAssert) { |
| 4089 | value = +value |
| 4090 | offset = offset >>> 0 |
| 4091 | if (!noAssert) { |
| 4092 | checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38) |
| 4093 | } |
| 4094 | ieee754.write(buf, value, offset, littleEndian, 23, 4) |
| 4095 | return offset + 4 |
| 4096 | } |
| 4097 | |
| 4098 | Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) { |
| 4099 | return writeFloat(this, value, offset, true, noAssert) |
no test coverage detected
searching dependent graphs…