Octave: Precise value in Decimal or Continuous Fraction for 729 / 4^3

0

I get the approximation:

>> 729 / 4^3 
11.391

Is there some function to get more precise approximation?

Léo Léopold Hertz 준영

Posted 2009-10-05T23:29:36.557

Reputation: 4 828

Question was closed 2012-07-10T20:11:07.560

Answers

1

Update:

octave:1> 729/4^3
ans =  11.391
octave:2> format long
octave:3> 729/4^3
ans =  11.3906250000000
octave:4> 

Have you tried the "format long" command?

I'm installing octave right now. I used to use it and Matlab while I was in college.

hanleyp

Posted 2009-10-05T23:29:36.557

Reputation: 6 519

So it is not possible to specify the accuracy, eg to 128 decimals? – Léo Léopold Hertz 준영 – 2009-10-08T22:38:05.943