Personal tools
You are here: Home documentation FAQ for Pd What is the largest integer that Pd can represent?
Document Actions

What is the largest integer that Pd can represent?

Up to Table of Contents

Because Pd uses a 32-bit float as the only internal representation of numbers, it is limited to 6 digits of accuracy. 999,999 is the largest number that can be represented in Pd without scientific notation.

999,999 in binary is 1111 0100 0010 0011 1111

But Pd cannot represent this number exactly 1111 1111 1111 1111 1111 (1,048,575)

but it can represent this number exactly 0111 1111 1111 1111 1111 (524,287)

Therefore Pd can represent 19-bits of integer accurately.

by IOhannes m zmoelnig last modified 2008-05-07 10:02 AM

Powered by IEM Powered by Plone Section 508 WCAG Valid XHTML Valid CSS Usable in any browser