ofNumber

The signature of a number, whatever width it was stored at.

Trailing zeros are stripped so that scale does not become part of a value's identity.


fun ofNumber(value: Long): ByteArray

The signature of a number given as an integer.


The signature of a number given as a double.

NaN and the infinities are signed the way of signs them, so a term built here and a term extracted from a document agree.