[Bugs] #2697 UNSP: Calculate should use an appropriate number of significant figures for trigonometric functions
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Wed Mar 16 12:54:05 EDT 2011
#2697: Calculate should use an appropriate number of significant figures for
trigonometric functions
------------------------------------------+---------------------------------
Reporter: greenfeld | Owner: rwh
Type: enhancement | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: Calculate | Version: 0.92.x
Severity: Minor | Keywords:
Status_field: New | Distribution: OLPC
Seeta_dev: |
------------------------------------------+---------------------------------
Calculate should use an appropriate number of significant figures for
trigonometric functions. Right now it provides errors in the noise where
it should provide a zero answer.
This potentially could confuse students if none of their other figures are
that minuscule. Seen in Calculate-36 in OLPC 11.2.0 os13.
Examples seen on an XO-1.5 (using degrees; radians are similar):
* sin(180) = 1.22460*10^-16^
* cos(90) = 6.12303*10^-17^
* tan(90) = 1.63317*10^16^ {technically I believe this is undefined, but
Google's calculator makes the same mistake for this one entry}.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2697>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list