id summary reporter owner description type status priority milestone component version severity resolution keywords cc distribution status_field
1865 OLPC-Calculate Activity – Unexpected error message displayed as follows “Error at ‘’: math domain error” Niranjala80 rwh "'''Description:'''
When Type asin(45) and enter, It gives,
asin(45)
Error at 1: math domain error
This should give the answer as, 1.17522136 in radians & 67.3352241 in degrees.
Similarly,
When Type acos(45) & enter It gives,
acos(45)
Error at 1: math domain error
This should give the answer as, 1.90359441 in radians & 109.067925 in degrees.
Tested enabling both deg & rad the result was same.
'''Steps to recreate the defect:'''
1. Power on OLPC
2. Click on the calculate icon on home page.
3. Click on the trigonometry Tab.
4. Click on sin-1 option.
5. Type “45”.
6. Click on Enter.
7. Verify the message displayed on the right side result text box
'''Actual Result:'''
Displayed error message as “Error at 1: math domain error” when tries to get the answer for sin-1 and cos -1.
'''Expected Result:'''
For asin(45):
1.17522136 In radians
67.3352241 In degrees
For acos(45:)
1.90359441 In radians
67.3352241 In degrees
'''Tested Environment'''
OS: Sugar and GNOME (Dual boot)
Machine Type: XO 1.5
Build: OS 115
Firmware: Q3A35
" defect closed Normal Unspecified Calculate 0.84.x Minor notabug OS115 Unspecified New