Skip to main content

Module data

Module data 

Source

Structs§

Data
A NaN-boxed word, plus the word an int needs.
DataHash

Constants§

FALSE
FUNCTION_TEXT
How a function value reads wherever one becomes text. A function carries no signature at run time, so every function reads alike.
NULL
TRUE

Traits§

PoolString

Functions§

format_float
How candela writes a float: with a decimal point or an exponent, so a whole float reads as a float rather than as an int. An infinity and a not-a-number have no such form and print as themselves.
text_hash
The hash a pooled string is filed under as a map key: 64-bit FNV-1a over its bytes. A map key keeps it in the value, and a .cdlb records the key with it, so it has to come out the same on every machine and in every build.