3 ms·
>Just curious, as the Frink examples were all imperial. No worries. Internally Frink immediately converts everything into SI, actually. Fortunately Frink conv
by schiffern 2y ago
>Just curious, as the Frink examples were all imperial.
No worries. Internally Frink immediately converts everything into SI, actually.
Fortunately Frink converts with zero loss of precision, because the language supports exact rational numbers. The unit definitions are all given in exact rationals, since they are (legally) defined as exact multipliers. For readability Frink introduces the "ee" ('exact exponent') notation, so for instance the standard acceleration due to gravity can be given as:
9.80665ee0 m/s^2
or (equivalently) in simplest form, as:
196133/20000 m s^-2
Frink treats these two quantities as exactly equivalent.