From a6cd35f9d2f6a9e351fb634bb942b867e384113e Mon Sep 17 00:00:00 2001 From: "N.N." Date: Tue, 4 Oct 2005 02:14:03 +0000 Subject: i'm almost, almost done svn path=/trunk/; revision=3652 --- externals/gridflow/doc/flow_classes/#cast-help.pd | 45 +++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 externals/gridflow/doc/flow_classes/#cast-help.pd (limited to 'externals/gridflow/doc/flow_classes/#cast-help.pd') diff --git a/externals/gridflow/doc/flow_classes/#cast-help.pd b/externals/gridflow/doc/flow_classes/#cast-help.pd new file mode 100644 index 00000000..94246cc9 --- /dev/null +++ b/externals/gridflow/doc/flow_classes/#cast-help.pd @@ -0,0 +1,45 @@ +#N canvas 435 101 684 379 10; +#X text 108 14 returns a grid of the same dimensions containing all +the same values after type conversion. note that while casting to a +smaller type \, overflowing values will be truncated.; +#X text 109 53 numbertypes are: uint8 \, int16 \, int32 \, int64 \, +float32 \, float64. see doc/architecture.html for more info.; +#X obj 115 90 nbx 8 14 -1e+37 1e+37 0 1 empty empty empty 0 -6 0 10 +-262144 -1 -1 3.1416 256; +#X obj 78 136 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X text 14 136 print it:; +#X obj 78 210 t a a a a; +#X obj 216 90 nbx 8 14 -1e+37 1e+37 0 1 empty empty empty 0 -6 0 10 +-262144 -1 -1 42 256; +#X obj 126 110 nbx 8 14 -1e+37 1e+37 0 1 empty empty empty 0 -6 0 10 +-262144 -1 -1 2005 256; +#X obj 215 110 nbx 8 14 -1e+37 1e+37 0 1 empty empty empty 0 -6 0 10 +-262144 -1 -1 1e+10 256; +#X obj 115 136 #pack 4 float32; +#X obj 115 158 #redim ( 2 2 ); +#X obj 78 185 #store; +#X obj 136 234 #print; +#X obj 116 254 #cast uint8; +#X obj 116 274 #print; +#X obj 97 294 #cast int32; +#X obj 97 314 #print; +#X obj 78 334 #cast float64; +#X obj 78 354 #print; +#X text 14 14 [#cast]; +#X text 575 10 GridFlow 0.8.0; +#X connect 2 0 9 0; +#X connect 3 0 11 0; +#X connect 5 0 17 0; +#X connect 5 1 15 0; +#X connect 5 2 13 0; +#X connect 5 3 12 0; +#X connect 6 0 9 1; +#X connect 7 0 9 2; +#X connect 8 0 9 3; +#X connect 9 0 10 0; +#X connect 10 0 11 1; +#X connect 11 0 5 0; +#X connect 13 0 14 0; +#X connect 15 0 16 0; +#X connect 17 0 18 0; -- cgit v1.2.1