MCPcopy Create free account
hub / github.com/TruthHun/BookStack / writeDouble

Function writeDouble

static/word2md/mammoth.browser.js:11205–11211  ·  view source on GitHub ↗
(buf, value, offset, littleEndian, noAssert)

Source from the content-addressed store, hash-verified

11203}
11204
11205function writeDouble (buf, value, offset, littleEndian, noAssert) {
11206 if (!noAssert) {
11207 checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)
11208 }
11209 ieee754.write(buf, value, offset, littleEndian, 52, 8)
11210 return offset + 8
11211}
11212
11213Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
11214 return writeDouble(this, value, offset, true, noAssert)

Callers 1

mammoth.browser.jsFile · 0.70

Calls 1

checkIEEE754Function · 0.70

Tested by

no test coverage detected