aboutsummaryrefslogtreecommitdiff
path: root/docs/nums.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-05 15:18:32 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-05 15:18:32 -0500
commitb8d7eabc023bf9db0150049d8e909086f6ad91bc (patch)
tree5b678c7949638b3f07095affc04611f0422ef8c7 /docs/nums.md
parent2fa26e6af3ec1599396d9260ef44b0d035b1f686 (diff)
Deprecate bit-width integer/num literals in favor of using type
constructors
Diffstat (limited to 'docs/nums.md')
-rw-r--r--docs/nums.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/nums.md b/docs/nums.md
index 5f9b5285..63fae27f 100644
--- a/docs/nums.md
+++ b/docs/nums.md
@@ -10,6 +10,8 @@ are converted to radians at compile time (i.e. `180deg == Nums.PI`).
Nums support the standard math operations (`x+y`, `x-y`, `x*y`, `x/y`) as well as
powers/exponentiation (`x^y`) and modulus (`x mod y` and `x mod1 y`).
+32-bit numbers can be constructed using the type name: `Num32(123.456)`.
+
# Num Functions
Each Num type has its own version of the following functions. Functions can be