correct the trigonometric function or pi constant
There is a problem when octave calculate cos(pi/2) (and probably other trigonometric funtions). Instead of 0 it results in 3.2679e-07, which is a "good" approximation, but not the right answer. It may be corrected.
1
vote
Fillipi
shared this idea
Hi Fillipi,
This is not a bug in Octave or Octave Online, it is a result of loss of precision when using floating-point arithmetic. For more information, see:
http://wiki.octave.org/FAQ#Why_is_this_floating_point_computation_wrong.3F
Thanks for the support,
Octave Online Team