-
-
Notifications
You must be signed in to change notification settings - Fork 4
number
pannous edited this page Sep 19, 2021
·
15 revisions
The internal number types are mostly isolated from the user facing number
type, which handles automatic casting, up and downgrading between all different kinds of numbers: integers, reals, rational and complex numbers. Developers can unknowingly accept an int8 and return a bignum pointer if their calculation grows out of hand. Unless they really want all they need is number as parameter or variable type. Or no type at all if they rely on type inference