Skip to content

Add FLT infinities, NaN. #45

@python-processing-unit

Description

@python-processing-unit

Add special values INF and NaN, of type FLT.

INF and NaN are both considered FLT literals. However, NaN MUST NOT be negative, while INF MAY be negative (-INF).

As always with FLT, INF and NaN are IEEE-754-compliant regarding their handling in arithmetic operations.

Metadata

Metadata

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions