[PD] Long long numbers
Roman Haefeli
reduzierer at yahoo.de
Fri Dec 21 19:29:48 CET 2007
i assume, you don't want to perform calculations with these big numbers.
or better i should say, i hope, because this wouldn't be possible (at
least with pd on 32bit machines).
if you are only interested in the visual representation (e.g when
displaying phone numbers) then you could convert your numbers to
symbols using [makefilename %d]. if you need numbers with more than 7
digits, you would need to compose them from more than one floatnumber,
since 7 decimal digits is the maximum that can be expressed with 32bit
floating point. use [list-ls] from frank's list-abstractions to glue a
list of symbols together.
alternatively, you could also use something like this to construct long
symbols containing only digits:
http://romanhaefeli.net/very_long_number.png
roman
On Fri, 2007-12-21 at 11:38 -0500, Dafydd Hughes wrote:
> Hi everybody
>
> Working on a project that needs really long numbers. I'm sure there's
> a way of doing it that's obvious to those with better math brains and
> more experience, but I basically need to keep Pd from slipping into
> scientific notation.
>
> Can anybody offer hints on how to split up really long numbers so I
> can keep them accurate?
>
> Thanks in advance.
>
> cheers
> dafydd
>
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
More information about the Pd-list
mailing list