[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Floating point print problems
From: |
U-E59264-Osman Buyukisik |
Subject: |
Re: Floating point print problems |
Date: |
Fri, 15 Jul 94 15:46:26 -0400 |
>>>>> "Andrew" == Andrew D Fernandes <andrew%watsci.uwaterloo.ca> writes:
Andrew> Last week I posted a note about my difficulty in getting
Andrew> octave to print out a nice, clean
Andrew> 1.000000000000000000e+00.
Andrew> The problem seems to be in the printing routines:
Andrew> octave:1> format long e
Andrew> octave:2> x = 1
Andrew> 1.00000047683363e+00 octave:3> x .^ 100 ans =
Andrew> 1.00000047683363e+00 octave:4> quit
Andrew> seems to be about the norm.
Using Linux octave 1.0 , I get a clean 1.00000000000e+00
Also get the same result using HP710/HPUX9.3. I think maybe the
compiler used in building octave is messing up! Try using "gcc".
Osman