aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/tutorials/intro/TEMPLATE.pd2
-rw-r--r--doc/tutorials/intro/keywords.pd8
-rw-r--r--doc/tutorials/intro/number_limitations.pd24
3 files changed, 33 insertions, 1 deletions
diff --git a/doc/tutorials/intro/TEMPLATE.pd b/doc/tutorials/intro/TEMPLATE.pd
index 96c1fe2d..177b6f23 100644
--- a/doc/tutorials/intro/TEMPLATE.pd
+++ b/doc/tutorials/intro/TEMPLATE.pd
@@ -1,3 +1,3 @@
#N canvas 21 40 639 455 12;
-#X obj -39 10 cnv 15 400 40 empty empty TEMPLATE 20 12 0 24 -228992
+#X obj -34 8 cnv 15 400 40 empty empty TEMPLATE 20 12 0 24 -228992
-66577 0;
diff --git a/doc/tutorials/intro/keywords.pd b/doc/tutorials/intro/keywords.pd
new file mode 100644
index 00000000..0f935359
--- /dev/null
+++ b/doc/tutorials/intro/keywords.pd
@@ -0,0 +1,8 @@
+#N canvas 21 40 643 459 12;
+#X obj -39 10 cnv 15 400 40 empty empty keywords 20 12 0 24 -228992
+-66577 0;
+#X text 127 126 float;
+#X text 127 106 bang;
+#X text 127 146 list;
+#X text 127 166 pointer;
+#X text 127 186 symbol;
diff --git a/doc/tutorials/intro/number_limitations.pd b/doc/tutorials/intro/number_limitations.pd
new file mode 100644
index 00000000..a14a8921
--- /dev/null
+++ b/doc/tutorials/intro/number_limitations.pd
@@ -0,0 +1,24 @@
+#N canvas 399 275 659 475 12;
+#X obj -30 9 cnv 15 400 40 empty empty number_limitations 20 12 0 24
+-228992 -66577 0;
+#X text 13 146 NaN;
+#X text 76 147 -inf;
+#X text 144 148 inf;
+#X text -19 233 rounding errors;
+#X floatatom -8 381 12 999900 1e+20 0 - - -;
+#X text -19 343 Pd can only display 6 significant digits:;
+#X text -17 421 If you are fortunate enough to have a 64-bit system
+\, then you can have much longer numbers.;
+#X floatatom -7 311 12 0 0 0 - - -;
+#X text 103 267 999999 + 999999 = 1 \, 999 \, 998;
+#X msg -7 258 999999;
+#X obj -7 285 + 999999;
+#X obj -19 204 pddp/pddplink http://en.wikipedia.org/wiki/Real_numbers
+;
+#X text -23 61 Computers use floating point numbers to try to represent
+real numbers (a real number is any number that could be plotted on
+a line).;
+#X text 118 379 <-- scroll up to see;
+#X text 127 312 == 2 \, OOO \, OOO;
+#X connect 10 0 11 0;
+#X connect 11 0 8 0;