Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I get the approximation:

>> 729 / 4^3 
11.391

Is there some function to get more precise approximation?

share|improve this question

closed as off topic by KronoS, Mokubai, Canadian Luke, Ivo Flipse Jul 10 '12 at 20:11

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

1 Answer

up vote 1 down vote accepted

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.

share|improve this answer
    
So it is not possible to specify the accuracy, eg to 128 decimals? –  Masi Oct 8 '09 at 22:38
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.