blob: 92543dee975c6fe94a7e9951a6e65f8cd7efdb9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
#N canvas 435 101 684 379 10;
#X text 14 15 @cast;
#X text 143 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 626 13 gridflow;
#X text 142 58 numbertypes are: uint8 \, int16 \, int32 \, int64 \,
float32 \, float64. see doc/architecture.html for more info.;
#X obj 126 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 115 136 @pack 4 float32;
#X obj 78 185 @store;
#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 136 234 @print;
#X obj 78 205 t a a a a;
#X obj 78 354 @print;
#X obj 97 314 @print;
#X obj 116 254 @cast uint8;
#X obj 116 274 @print;
#X obj 97 294 @cast int32;
#X obj 78 334 @cast float64;
#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 2004 256;
#X obj 216 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 118 158 @redim ( 2 2 );
#X text 182 295 normally the default;
#X connect 4 0 5 0;
#X connect 5 0 20 0;
#X connect 6 0 10 0;
#X connect 7 0 6 0;
#X connect 10 0 16 0;
#X connect 10 1 15 0;
#X connect 10 2 13 0;
#X connect 10 3 9 0;
#X connect 13 0 14 0;
#X connect 15 0 12 0;
#X connect 16 0 11 0;
#X connect 17 0 5 1;
#X connect 18 0 5 2;
#X connect 19 0 5 3;
#X connect 20 0 6 1;
|