aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/math/number/i64.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation/lux/math/number/i64.lux')
-rw-r--r--stdlib/source/documentation/lux/math/number/i64.lux14
1 files changed, 7 insertions, 7 deletions
diff --git a/stdlib/source/documentation/lux/math/number/i64.lux b/stdlib/source/documentation/lux/math/number/i64.lux
index 644c6e7e3..2180fcffd 100644
--- a/stdlib/source/documentation/lux/math/number/i64.lux
+++ b/stdlib/source/documentation/lux/math/number/i64.lux
@@ -43,7 +43,7 @@
($.definition /.bit
"A mask with only a specific bit set."
- [(bit position)])
+ ($.example (bit position)))
($.definition /.sign
"A mask for the sign bit of ints.")
@@ -53,11 +53,11 @@
($.definition /.mask
"Mask a block of bits of the specified size."
- [(mask amount_of_bits)])
+ ($.example (mask amount_of_bits)))
($.definition /.ones
"Count the number of 1s in a bit-map."
- [(ones it)])
+ ($.example (ones it)))
(,, (with_template [<name> <doc>]
[($.definition <name>
@@ -70,20 +70,20 @@
($.definition /.one?
""
- [(one? index input)])
+ ($.example (one? index input)))
($.definition /.zero?
""
- [(zero? index input)])
+ ($.example (zero? index input)))
($.definition /.region
"A mask for a block of bits of the given size, starting at the given offset."
- [(region offset size)])
+ ($.example (region offset size)))
($.definition (/.Sub width)
"A sub-space of I64 with a reduce amount of bits.")
($.definition /.sub
"Given a width in the interval (0,64), yields an implementation for integers of that width."
- [(sub width)])
+ ($.example (sub width)))
)))