solrat.engine.functions.general module¶
- solrat.engine.functions.general.ensure_positive_if_zero(a: float)[source]¶
Make sure there are no -0 floats.
- solrat.engine.functions.general.half_int_to_str(a: float)[source]¶
Converts half-integer floats like 0, 0.5, 1, … to string in a stable manner (eliminates float artifacts)