From b8d7eabc023bf9db0150049d8e909086f6ad91bc Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 5 Nov 2024 15:18:32 -0500 Subject: Deprecate bit-width integer/num literals in favor of using type constructors --- docs/nums.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/nums.md') 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 -- cgit v1.2.3