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

Function checkIEEE754

static/word2md/mammoth.browser.js:11184–11187  ·  view source on GitHub ↗
(buf, value, offset, ext, max, min)

Source from the content-addressed store, hash-verified

11182}
11183
11184function checkIEEE754 (buf, value, offset, ext, max, min) {
11185 if (offset + ext > buf.length) throw new RangeError('Index out of range')
11186 if (offset < 0) throw new RangeError('Index out of range')
11187}
11188
11189function writeFloat (buf, value, offset, littleEndian, noAssert) {
11190 if (!noAssert) {

Callers 2

writeFloatFunction · 0.70
writeDoubleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected