vcorelib
.
math
.constants
index
/home/vkottler/src/vkottler/workspace/vcorelib/vcorelib/math/constants.py
A module defining some useful constants.
Functions
from_nanos
(nanos: int) -> float
Convert a number in nano counts to a regular floating-point number.
to_nanos
(value: float) -> int
Convert a number to the same number but in nano counts.
Data
BILLION
= 1000000000
MILLION
= 1000000