[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug#35291: sin(pi) is not zero ?
Package: drgenius
Severity: normal
Version: 0.51
Synopsis: sin(pi) is not zero ?
Class: sw-bug
Distribution: Debian woody
System: Linux 2.2.13 i686 unknown
C library: C library 2.2-4
C compiler: 2.95.2
glib: 1.2.8
GTK+: 1.2.8
ORBit: ORBit 0.5.4
gnome-libs: gnome-libs 1.2.8
libxml: 2.1.0
gnome-print: gnome-print-0.25
gnome-core: gnome-core 1.2.4
Description:
I just downloaded and compiled Dr. Genius 0.51. In the Genius shell I
write :
genius> pi
=
3.141592653589793238462643383279502884197169399375105820974944592307816406...
genius> sin(pi)
=
1.997915744120600419549473358607454228998467230590789927080586197919866271...
genius>
I was expecting a zero. Note that cos(pi) is minus one, like it's
supposed to, but cos(pi/2) seems
to have the same problem as sin(pi) :
genius> cos(pi/2)
=
9.975597129223625247887874178446362227615037021371172946917454642392707602...
genius>
Halldór