Skip to content

Commit a7a92da

Browse files
docs: add note clarifying multipleOf implementation (#1206)
* docs: add note clarifying multipleOf implementation add a note explaining the difference between float-point implementation of programming languages and json schema * fix: reword note on numerical precision * fix: clarify wording in numerical precision note
1 parent 2fa79fd commit a7a92da

File tree

1 file changed

+1
-0
lines changed
  • pages/understanding-json-schema/reference

1 file changed

+1
-0
lines changed

pages/understanding-json-schema/reference/numeric.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ The multiple can be a floating point number:
168168
4.021
169169
```
170170

171+
<Infobox label="Note"> The JSON Specification defines numerical precision independently of the IEEE 754 standard. This means developers do not need to worry about the typical limitations of floating-point arithmetic, such as precision loss or representation errors, which are common in most programming languages. </Infobox>
171172

172173
<Keywords label="single: number; range single: maximum single: exclusiveMaximum single: minimum single: exclusiveMinimum" />
173174

0 commit comments

Comments
 (0)