(val, offset = 0)
| 902 | |
| 903 | // Write floats. |
| 904 | function writeDoubleForwards(val, offset = 0) { |
| 905 | val = +val; |
| 906 | checkBounds(this, offset, 7); |
| 907 | |
| 908 | float64Array[0] = val; |
| 909 | this[offset++] = uInt8Float64Array[0]; |
| 910 | this[offset++] = uInt8Float64Array[1]; |
| 911 | this[offset++] = uInt8Float64Array[2]; |
| 912 | this[offset++] = uInt8Float64Array[3]; |
| 913 | this[offset++] = uInt8Float64Array[4]; |
| 914 | this[offset++] = uInt8Float64Array[5]; |
| 915 | this[offset++] = uInt8Float64Array[6]; |
| 916 | this[offset++] = uInt8Float64Array[7]; |
| 917 | return offset; |
| 918 | } |
| 919 | |
| 920 | function writeDoubleBackwards(val, offset = 0) { |
| 921 | val = +val; |
nothing calls this directly
no test coverage detected