Maker Pro
Maker Pro

Calculations in different bases

B

Brian White

Jan 1, 1970
0
Does Matlab, Octave, or Fortran do calculations in different bases like a
base 8 or Hexadecimal base 16?
Brian White
 
P

Paul Hovnanian P.E.

Jan 1, 1970
0
Brian said:
Does Matlab, Octave, or Fortran do calculations in different bases like a
base 8 or Hexadecimal base 16?

I don't know about Matlab or similar products, but in Fortran (and other
languages), the math is all done in the system's floating point or
integer formats. The resulting values can be printed in whatever bases
are supported by the available I/O library routines.
 
Top