[Date Index] [Thread Index] [Author Index]
Re: Precision of calculations
On 4/27/10 at 4:04 AM, lambaugh at gmail.com (Jim Lambaugh) wrote: >When I write numbers in my code, I do it as (e.g.) >1.0 1000.0 Pi //N etc... >Is it correct to say that my calculations are done with machine- >precision, i.e. with rougly 16 digit precision? Yes. But note, you do not explicitly need to convert exact numbers to machine numbers using N in most cases. For example 1000. Pi computes a machine precision number without explicitly using N. The default for Mathematica is to use machine precision if any portion of an expression is in machine precision and the precision of other portions is not explicitly given.