Skip to content

Commit dc64008

Browse files
committed
Encapsulate double-int
1 parent 541f872 commit dc64008

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

registries/_format/double-int.md

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,10 @@ base_type: integer
66
layout: default
77
---
88

9-
# <a href="..">{{ page.collection }}</a>
10-
11-
## {{ page.slug }} - {{ page.description }}
12-
13-
Base type: `{{ page.base_type }}`.
14-
9+
{% capture summary %}
1510
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.
1611

1712
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.
13+
{% endcapture %}
1814

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 %}
15+
{% include format-entry.md summary=summary %}

0 commit comments

Comments
 (0)