help-octave
[Top][All Lists]
Advanced

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

How many digits does octave use?!


From: Eyal Doron
Subject: How many digits does octave use?!
Date: Tue, 12 Sep 1995 13:19:56 +0100 (MET DST)

Hi,

  How do you explain this:

octave:48> a=rand(1,1)/200;
octave:49> sprintf("%.100g\n",a)
ans = 0.0004910822212696075612925472597680709441192448139190673828125

Thats 64 DIGITS! Where are they coming from?

Eyal Doron


reply via email to

[Prev in Thread] Current Thread [Next in Thread]