Skip to content

Commit

Permalink
Add double-int to format registry (#3381)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekistler authored Nov 16, 2023
1 parent e2aeb00 commit 1d8ce42
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions registries/_format/double-int.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
owner: mikekistler
issue:
description: an integer that can be stored in an IEEE 754 double-precision number without loss of precision
base_type: integer
layout: default
---

# <a href="..">{{ page.collection }}</a>

## {{ page.slug }} - {{ page.description }}

Base type: `{{ page.base_type }}`.

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.

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.

{% if page.issue %}
### GitHub Issue

* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }})
{% endif %}

{% if page.remarks %}
### Remarks

{{ page.remarks }}
{% endif %}

0 comments on commit 1d8ce42

Please sign in to comment.