Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: more than double precision (higher than 16 digit)


From   Maarten buis <[email protected]>
To   [email protected]
Subject   RE: st: more than double precision (higher than 16 digit)
Date   Mon, 29 Nov 2010 08:58:04 +0000 (GMT)

--- On Mon, 29/11/10, Nicola Man wrote:
> Thanks for the suggestion, but I really was interested in
> knowing if numbers can be stored with higher precision than
> double.

Integers can be stored exactly, which is more precise then
double, as long as the numbers remain between -2,147,483,647 
and 2,147,483,620 if you store it as -long-. For numbers 
larger than that there is no alternative to -double-.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index