Skip to content

enforce BinaryScott invariant in toInt #92

Closed
@JohanWiltink

Description

@JohanWiltink

Enforce no padding zeroes in BinaryScott numbers in toInt ( which makes it perfectly appropriately selective. can still use denormal numbers internally, just can't export them to JS ). Make this enforcement configurable, but it can default to ON.

config.numEncoding.enforceInvariant or something.

Metadata

Metadata

Assignees

Labels

improvementImprove existing behaviour or code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions