@driftengine/network 4.8.3 → 4.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/simNumber.d.ts +1 -1
- package/dist/simNumber.js +1 -1
- package/package.json +3 -3
- package/src/simNumber.ts +1 -1
package/README.md
CHANGED
|
@@ -118,7 +118,7 @@ thing to ask for, and the two numbers do not have to be chosen together.
|
|
|
118
118
|
A rewind is only as good as the simulation's reproducibility. `scripts/determinism.mjs` is the gate:
|
|
119
119
|
the arithmetic a simulation may use is what IEEE 754 fixes exactly, and the twenty-two functions
|
|
120
120
|
ECMAScript declines to specify are refused inside the declared simulation set. `packages/network` is
|
|
121
|
-
in that set, and `packages/
|
|
121
|
+
in that set, and `packages/physics/src/exact.ts` supplies the transcendentals it may still need.
|
|
122
122
|
|
|
123
123
|
**`scripts/exactness-cross.mjs` is how a cross-machine claim becomes a measurement.** It prints what
|
|
124
124
|
this machine computes — golden bits, a seeded stream, and both arms of the conformance fixture — in
|
package/dist/simNumber.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Fixed-point arithmetic, 48.16, for a simulation that wants determinism by construction.
|
|
3
3
|
*
|
|
4
|
-
* **Opt-in, and the gate is the default.** `scripts/determinism.mjs` plus `
|
|
4
|
+
* **Opt-in, and the gate is the default.** `scripts/determinism.mjs` plus physics' `exact.ts` make a
|
|
5
5
|
* floating-point simulation reproducible across engines, and that is the recommended path: it costs
|
|
6
6
|
* nothing, changes no stored replay, and is what every package in this repository already does.
|
|
7
7
|
* This exists for a consumer who would rather not depend on an argument about IEEE 754 at all.
|
package/dist/simNumber.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Fixed-point arithmetic, 48.16, for a simulation that wants determinism by construction.
|
|
3
3
|
*
|
|
4
|
-
* **Opt-in, and the gate is the default.** `scripts/determinism.mjs` plus `
|
|
4
|
+
* **Opt-in, and the gate is the default.** `scripts/determinism.mjs` plus physics' `exact.ts` make a
|
|
5
5
|
* floating-point simulation reproducible across engines, and that is the recommended path: it costs
|
|
6
6
|
* nothing, changes no stored replay, and is what every package in this repository already does.
|
|
7
7
|
* This exists for a consumer who would rather not depend on an argument about IEEE 754 at all.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@driftengine/network",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.4",
|
|
4
4
|
"description": "A transport seam, rewind and replay, lockstep and an authoritative host, on the fixed-step loop",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
],
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@driftengine/entities": "4.8.
|
|
30
|
+
"@driftengine/entities": "4.8.4"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@driftengine/core": "4.8.
|
|
33
|
+
"@driftengine/core": "4.8.4"
|
|
34
34
|
},
|
|
35
35
|
"author": "Drift Technologies",
|
|
36
36
|
"repository": {
|
package/src/simNumber.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Fixed-point arithmetic, 48.16, for a simulation that wants determinism by construction.
|
|
3
3
|
*
|
|
4
|
-
* **Opt-in, and the gate is the default.** `scripts/determinism.mjs` plus `
|
|
4
|
+
* **Opt-in, and the gate is the default.** `scripts/determinism.mjs` plus physics' `exact.ts` make a
|
|
5
5
|
* floating-point simulation reproducible across engines, and that is the recommended path: it costs
|
|
6
6
|
* nothing, changes no stored replay, and is what every package in this repository already does.
|
|
7
7
|
* This exists for a consumer who would rather not depend on an argument about IEEE 754 at all.
|