46 lines
1.6 KiB
Plaintext
46 lines
1.6 KiB
Plaintext
|
; gm.equ
|
||
|
;
|
||
|
; ARGUMENT
|
||
|
; Used as include file for assembly language modules
|
||
|
;
|
||
|
; DESCRIPTION
|
||
|
; Contains the precision and number of digits descriptors
|
||
|
;
|
||
|
; SIDE EFFECTS
|
||
|
; None.
|
||
|
;
|
||
|
; RETURNS
|
||
|
; N/A.
|
||
|
;
|
||
|
; AUTHOR
|
||
|
; Andy Anderson 05-JAN-1987 17:30
|
||
|
; Copyright (C)1987-1990 Greenleaf Software Inc. All Rights Reserved.
|
||
|
;
|
||
|
; MODIFICATIONS
|
||
|
;
|
||
|
|
||
|
GM_SUCCESS EQU 0
|
||
|
GM_FAILURE EQU 1
|
||
|
TRUE EQU 1
|
||
|
FALSE EQU 0
|
||
|
YES EQU 1
|
||
|
NO EQU 0
|
||
|
|
||
|
GM_BASE equ -300
|
||
|
GM_NULLPOINTER equ GM_BASE - 1 ; function handed NULL ptr
|
||
|
GM_NULLSTRING equ GM_BASE - 2 ; function handed ptr to NULL str
|
||
|
GM_PILLPTYPE equ GM_BASE - 3 ; illegal pointer type
|
||
|
GM_OVERFLOW equ GM_BASE - 4 ; arithmetic overflow
|
||
|
GM_UNDERFLOW equ GM_BASE - 5 ; arithmetic underflow
|
||
|
GM_TRUNC equ GM_BASE - 6 ; lsd truncation: warning
|
||
|
GM_TRUNS equ GM_BASE - 7 ; no. too large for dest string
|
||
|
GM_NAN equ GM_BASE - 8 ; Not A Number: ptr to bad struct
|
||
|
GM_CNVRE equ GM_BASE - 9 ; fatal error during conversion
|
||
|
GM_CNVRW equ GM_BASE - 10 ; warning during conversion
|
||
|
GM_DIV0 equ GM_BASE - 11 ; attempt to divide by zero
|
||
|
GM_PWR0 equ GM_BASE - 12 ; zero to a power error
|
||
|
GM_IMAG equ GM_BASE - 13 ; imaginary number, eg sqrt(-1)
|
||
|
GM_NOMEMORY equ GM_BASE - 14 ; when calloc() fails
|
||
|
GM_INVALIDID equ GM_BASE - 15 ; when given 0>id>18 & not=GM_AUTO
|
||
|
GM_NOTFOUND equ GM_BASE - 16 ; list comparison crit not fnd
|