Opened 13 years ago

Closed 5 years ago

#3078 closed defect (fixed)

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

Reported by: garycmartin Owned by: rwh
Priority: Unspecified by Maintainer Milestone: Unspecified
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 (2)

comment:1 Changed 13 years 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).

comment:2 Changed 5 years ago by quozl

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.