aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/tester1.c-pp.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-12-14 18:06:01 +0000
committerstephan <stephan@noemail.net>2022-12-14 18:06:01 +0000
commit1a1d8bbdc3c96559e7bd64c020d21a567b78bcb1 (patch)
treedfa48deb72576c9ac4f0367bf578aad86394d27d /ext/wasm/tester1.c-pp.js
parentdaa46142ecf8dd3b886fb5940e1faf4366a36df3 (diff)
downloadsqlite-1a1d8bbdc3c96559e7bd64c020d21a567b78bcb1.tar.gz
sqlite-1a1d8bbdc3c96559e7bd64c020d21a567b78bcb1.zip
Rename the new peek/pokeF32() and peek/pokeF64() to peek/poke32f() and peek/poke64f() for consistency with related APIs and because they're easier on both the eyes and the fingers.
FossilOrigin-Name: cc86f03ed698a071cd02ef3dfaba69092226bff20c917d662f808061627ad285
Diffstat (limited to 'ext/wasm/tester1.c-pp.js')
-rw-r--r--ext/wasm/tester1.c-pp.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/wasm/tester1.c-pp.js b/ext/wasm/tester1.c-pp.js
index d85c6c7df..768d5cdf4 100644
--- a/ext/wasm/tester1.c-pp.js
+++ b/ext/wasm/tester1.c-pp.js
@@ -494,9 +494,9 @@ self.sqlite3InitModule = sqlite3InitModule;
.assert( 31987 === w.poke16(m,31987).peek16(m) )
.assert( 345678 === w.poke32(m,345678).peek32(m) )
.assert(
- T.eqApprox( 345678.9, w.pokeF32(m,345678.9).peekF32(m) )
+ T.eqApprox( 345678.9, w.poke32f(m,345678.9).peek32f(m) )
).assert(
- T.eqApprox( 4567890123.4, w.pokeF64(m, 4567890123.4).peekF64(m) )
+ T.eqApprox( 4567890123.4, w.poke64f(m, 4567890123.4).peek64f(m) )
);
if(w.bigIntEnabled){
T.assert(