On Sun, Oct 2, 2011 at 12:38 PM,  <tlaro...@polynum.com> wrote:
> Is there some documentation about the precision of the circular (i.e
> trigonometric) fonctions, depending on the (plan9) implementation and
> the hardware?

They are not terribly accurate.

If you need accurate versions, the best I know are the ones
that were written at Sun and included in the FreeBSD math library.
There are copies on any FreeBSD machine and also in the
vx32 distribution: http://code.swtch.com/vx32/src/tip/src/libvxc/msun.

For Go, we started with implementations of the Plan 9 library
algorithms but have been slowly replacing them with implementations
of the Sun/FreeBSD algorithms for the improved accuracy.

Russ

Reply via email to