(buf, value, offset, littleEndian, noAssert)
| 113868 | if (offset < 0) throw new RangeError("Index out of range"); |
| 113869 | } |
| 113870 | function writeFloat(buf, value, offset, littleEndian, noAssert) { |
| 113871 | value = +value; |
| 113872 | offset = offset >>> 0; |
| 113873 | if (!noAssert) checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -340282346638528860000000000000000000000); |
| 113874 | ieee754.write(buf, value, offset, littleEndian, 23, 4); |
| 113875 | return offset + 4; |
| 113876 | } |
| 113877 | Buffer.prototype.writeFloatLE = function writeFloatLE(value, offset, noAssert) { |
| 113878 | return writeFloat(this, value, offset, true, noAssert); |
| 113879 | }; |
no test coverage detected