[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

From |
"baum@bc.edu" <baum@bc.edu> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
st: Re: infix problem |

Date |
Fri, 16 May 2008 07:40:16 -0700 |

-findit precision- will point you to several useful FAQs. Yes, a double will allow you to represent numbers up to 10^307. But that does not mean that you can have an arbitrary number of digits of precision in the representation of that number, as the FAQs discuss. You cannot represent integers with more than a certain number of binary digits of precision, which then translates into a certain number of decimal digits which can be held exactly: about 7 for a float, about 15 for a double. But to avoid worrying about these problems, just store integer IDs as strings of appropriate length. Kit Kit Baum, Boston College Economics and DIW Berlin http://ideas.repec.org/e/pba1.html An Introduction to Modern Econometrics Using Stata: http://www.stata-press.com/books/imeus.html On May 15, 2008, at 02:33 , statalist-digest wrote: > > If double can't deal with 16 digits number, what does the help mean by > saying it can store up to 8.9884656743*10^307? * * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ _____________________________________________________________________ Mensaje analizado y protegido por Telefonica Empresas * * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ Privileged, confidential or patient identifiable information may be contained in this message. This information is meant only for the use of the intended recipients. If you are not the intended recipient, or if the message has been addressed to you in error, do not read, disclose, reproduce, distribute, disseminate or otherwise use this transmission. Instead, please notify the sender by reply e-mail, and then destroy all copies of the message and any attachments. * * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

- Prev by Date:
**st: r(varlist) after command lookfor** - Next by Date:
**st: editor does not allow the use of command line** - Previous by thread:
**st: Re: infix problem** - Next by thread:
**st: Problems with STATA 10, e.g. saving file causes variables to dropout** - Index(es):

© Copyright 1996–2015 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |