Arc Cosine (ACOS)

Instruction Syntax

Bound Program Access
Built-in number for ACOS is 401.
ACOS (                                                                          
      source   : binary floating-point(8) value                                             
) :   binary floating-point(8) value which is the arc cosine of the                         
      source value                                                              

Description:

The arc cosine of the numeric value of the source operand is computed and the result (in radians) is returned.

The result is in the range:

0 <= ACOS(source) <= pi                                               

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