On Mon, 11 Dec 2006, Mathieu Bouchard wrote:

In binary (internally to pd), you can count up to 16777216. If it were float64, then it'd be up to 9007199254740992. This has to do with how many bits in float32 and float64 are reserved for the exponent (it doesn't double from one to the other). However, when you save to a file, pd joyously rounds anything above 1000000.

Actually, after how many decimal digits should pd switch to exponential mode? the current 6, or else 7 or 8 ?

With 8, all the precision of the float32 number is found in decimal, whereas with 7 (or 6), all the precision of the decimal number is found in the float32.

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada
_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to