Skip to content

Commit 1d8ce42

Browse files
authored
Add double-int to format registry (#3381)
1 parent e2aeb00 commit 1d8ce42

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

registries/_format/double-int.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
owner: mikekistler
3+
issue:
4+
description: an integer that can be stored in an IEEE 754 double-precision number without loss of precision
5+
base_type: integer
6+
layout: default
7+
---
8+
9+
# <a href="..">{{ page.collection }}</a>
10+
11+
## {{ page.slug }} - {{ page.description }}
12+
13+
Base type: `{{ page.base_type }}`.
14+
15+
The `{{page.slug}}` format represents an integer that can be stored in an IEEE 754 double-precision number without loss of precision. The range of values is -(2<sup>53</sup>)+1 to (2<sup>53</sup>)-1.
16+
17+
This format is useful for systems that need to support languages (such as JavaScript) that store all numeric values as IEEE 754 double-precision numbers.
18+
19+
{% if page.issue %}
20+
### GitHub Issue
21+
22+
* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }})
23+
{% endif %}
24+
25+
{% if page.remarks %}
26+
### Remarks
27+
28+
{{ page.remarks }}
29+
{% endif %}

0 commit comments

Comments
 (0)