1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

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
This commit is contained in:
stephan
2022-12-14 18:06:01 +00:00
parent daa46142ec
commit 1a1d8bbdc3
4 changed files with 15 additions and 16 deletions

View File

@@ -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(