#N canvas 300 22 537 672 10; #X obj 8 644 cnv 15 520 20 empty empty empty 20 12 0 14 -158509 -66577 0; #X obj 8 6 cnv 15 520 40 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 12 28 DESCRIPTION: Float object stores a floating point number. ; #X obj 37 258 cnv 15 60 3 empty empty Left 18 9 0 14 -233017 -66577 0; #X obj 37 378 cnv 15 490 3 empty empty Right 18 9 0 14 -233017 -66577 0; #X obj 7 490 cnv 15 520 3 empty empty Arguments 18 9 0 14 -158509 -66577 0; #X obj 7 439 cnv 15 520 3 empty empty Outlets 18 9 0 14 -158509 -66577 0; #X obj 8 561 cnv 15 520 3 empty empty More_Info 18 9 0 14 -158509 -66577 0; #X floatatom 275 88 5 0 0 0 - - -; #X floatatom 434 116 5 0 0 0 - - -; #X floatatom 319 192 5 0 0 0 - - -; #X msg 254 132 42 7; #X obj 311 111 bng 15 250 50 0 empty empty Bang-Message 20 7 0 10 -24198 -1 -1; #X floatatom 78 152 5 0 0 0 - - -; #X msg 78 103 bang; #X msg 199 132 7 3 4; #X obj 319 166 f; #X obj 78 127 float 7; #X text 321 88 Tip: Shift+drag; #X text 105 510 One - [float] accepts a single float as a creation argument which initializes the first value to be sent out the left outlet.; #X text 104 460 One - outputs the stored floating point value of the object.; #X text 199 114 lists; #X text 56 85 creation argument; #X text 104 246 Float - A float at the left inlet will update the stored value of the object and will send the number immediately to the outlet. ; #X text 104 291 Bang - A bang at the left inlet will force [float] to send its value to the outlet.; #X text 104 319 List - A list at the left inlet will be truncated to include only the first element. The first element in the list will update the stored value of the object and will send the number immediately to the outlet.; #X text 105 384 Float - A float at the right inlet is stored for later use. It will be sent to the left outlet when a float or bang is received in the left inlet.; #N canvas 57 22 641 622 More_Info 0; #X text 43 24 All numbers in PD are kept in 32-bit floating point and can represent real numbers between -8 \, 388608 and 8.388.608.00; #X text 11 78 WHAT IS A FLOATING POINT NUMBER?; #X text 41 267 The following are examples of floating point numbers: ; #X text 61 293 3; #X text 62 334 -111.5; #X text 61 313 0.5; #X text 40 387 3e-05 : This example is a computer shorthand for scientific notation. It means 3*10-5 (or 10 to the negative 5th power multiplied by 3).; #X text 41 108 According to Webopedia.com \, "computers are integer machines and are capable of representing real numbers only by using complex codes." Hence \, real numbers must be 'approximated' by computers using the "floating point standard". In such a number \, the decimal point can "float" meaning that there is no fixed number of digits preceding or following the decimal. A floating point number is therefore a computer's approximation of a real number.; #X text 43 453 Interesting side-note: In the early 1990's \, the Intel 80486 was shipped with a math coprocessor to help accelerate the process of computing floating point numbers (which previously required a considerable amount of CPU power.) Math coprocessors have since found there way into nearly every graphics card and CPU available today.; #X text 62 358 10000 to 1e-16; #X restore 113 623 pd More_Info; #X text 298 647 - Dave Sabine \, November 18 \, 2002; #N canvas 58 22 265 150 Related_Objects 0; #X obj 3 87 cnv 15 250 15 empty empty empty 20 12 0 14 -158509 -66577 0; #X obj 5 6 cnv 15 250 15 empty empty empty 20 12 0 14 -158509 -66577 0; #X obj 3 107 cnv 15 250 30 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 69 113 randomF; #X obj 138 113 lister; #X text 7 6 Native PD Objects (internals); #X text 5 87 Externals and libraries; #X obj 4 27 cnv 15 250 30 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 70 34 int; #X obj 137 34 symbol; #X restore 219 623 pd Related_Objects; #X obj 7 236 cnv 15 520 3 empty empty Inlets 18 9 0 14 -158509 -66577 0; #N canvas 0 22 454 304 META 0; #X restore 11 646 pd META; #X obj 11 9 float; #X obj 159 9 f; #X text 58 9 also known as:; #X obj 28 318 float; #X text 28 301 L; #X text 57 301 R; #X text 30 596 [pddplink all_about_data_types]; #X text 110 569 [pddplink ../2.control.examples/sendnumber.pd]; #X text 273 596 [pddplink all_about_atom_conversion]; #X text 420 5 [pddplink pddp]; #X obj 18 523 float 1.2; #X connect 8 0 16 0; #X connect 9 0 16 1; #X connect 11 0 16 0; #X connect 12 0 16 0; #X connect 14 0 17 0; #X connect 15 0 16 0; #X connect 16 0 10 0; #X connect 17 0 13 0;