Does Matlab, Octave, or Fortran do calculations in different bases like a base 8 or Hexadecimal base 16? Brian White
- posted
18 years ago
Does Matlab, Octave, or Fortran do calculations in different bases like a base 8 or Hexadecimal base 16? Brian White
CALC.EXE on a Windoze box. View, Scientific. (Binary, Octal, Decimal, Hexadecimal.) Change the base to do a conversion.
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.
PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.