summaryrefslogtreecommitdiff
path: root/README_d/README.hacking
diff options
context:
space:
mode:
Diffstat (limited to 'README_d/README.hacking')
-rw-r--r--README_d/README.hacking9
1 files changed, 9 insertions, 0 deletions
diff --git a/README_d/README.hacking b/README_d/README.hacking
new file mode 100644
index 00000000..d179488c
--- /dev/null
+++ b/README_d/README.hacking
@@ -0,0 +1,9 @@
+* Use one of the following macros to access the value of a numeric NODE:
+ Macro Returned C type
+ ---------------------------------------
+ get_number_ui(n) unsigned long
+ get_number_si(n) long
+ get_number_d(n) double
+ get_number_uj(n) uintmax_t
+
+* Use iszero(n) to test if a numeric NODE is zero.