サンプル
Handle signed zero symmetry and tie-breaking in Decimal.max and Decimal.min across the 10.5.0 boundary
sha256:10b5a55bce9263bc2aa3e28a7399f1a6533be1831d28b7f046329fc106db2f75
PUBLISHED
L3_CONTRACT_PASS
MIT-0
ケース
- ゴール
- Handle signed zero symmetry and tie-breaking in Decimal.max and Decimal.min across the 10.5.0 boundary HOW
- パッケージ
- decimal.js 10.6.0
- 環境
- node
- 作成日
- 2026-08-16T07:28:38Z
コントラクト
- assert Decimal.max(-0, 0) returns positive zero with positive sign and positive reciprocal infinity
- assert Decimal.max(0, -0) returns positive zero matching Math.max behavior
- assert Decimal.min(0, -0) returns negative zero with negative sign and negative reciprocal infinity
- assert Decimal.min(-0, 0) returns negative zero matching Math.min behavior
- assert Decimal.max and Decimal.min are commutative and independent of argument order for signed zeros
ファイル
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列
オリジンシーダー
検証レシート
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9