Tangent (TAN)

Instruction Syntax

Bound Program Access
Built-in number for TAN is 402.
TAN (                                                                           
     source   : binary floating-point(8) value                                              
) :   binary floating-point(8) value which is the tangent of the source value               

Description:

The tangent of the numeric value of the source operand, whose value is considered to be in radians, is computed and the result is returned.

The result is in the range:

-infinity <= TAN(source) <= +infinity                                 

See floating point results from special values for additional information.

Authorization Required

  • None

Lock Enforcement

  • None

Exceptions

  • 06 Addressing
    • 0601 Space Addressing Violation
  • 0C Computation
    • 0C06 Floating-Point Overflow
    • 0C07 Floating-Point Underflow
    • 0C09 Floating-Point Invalid Operand
    • 0C0D Floating-Point Inexact Result
    • 0C0E Floating-Point Zero Divide