Math service condition handling requirements

Math services need to satisfy semantic condition handling requirements of all Language Environment members. A condition in a math service is treated differently than a condition elsewhere in either the generated code or in the other routines of the language library. This topic lists what special functions are needed by condition handlers that support math services.

Individual programming languages vary widely in handling semantic action in regard to math services. When a condition occurs in a CWI, the condition handling mechanism needs to provide the following information to the condition handler:
  • Indication that a condition occurred in a math service
  • The name or other identification of the math service
  • The type of condition

This information is communicated in the CIB (condition information block) constructed by the math service for software-detected conditions or by the ESTAE exit of the operating system provided by Language Environment for hardware-detected conditions.