Ticket #3078 (new defect)

Opened 21 months ago

Last modified 20 months ago

Sin, cosine and tangent are expecting integers in Degrees mode (default)

Reported by: garycmartin Owned by: rwh
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: Calculate Version: Unspecified
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

If Calculate is set to Degrees mode (the default) it (incorrectly) expects an integer value for sin, cos, tangent. If you switch to Radians mode, floating point or integer values are accepted fine (thank goodness).

Error at 1: unsupported operand time (s) for *:'Decimal' and 'float'

Change History

Changed 20 months ago by garycmartin

Had no luck tracing this one down, the log lists a Runtime error but with no useful hints. Interestingly you can do sin(1/2) correctly, but not sin(0.5).

Note: See TracTickets for help on using tickets.