Sets the new VML Error Status according to err and stores the previous VML Error Status to olderr.
FORTRAN:
olderr = vmlseterrstatus( err )
C:
olderr = vmlSetErrStatus( err );
Name |
Type |
Description |
---|---|---|
err |
FORTRAN 77: INTEGER Fortran 90: INTEGER, INTENT(IN) C: const int |
Specifies the VML error status to be set. |
Name |
Type |
Description |
---|---|---|
olderr |
FORTRAN: INTEGER C: int |
Specifies the former VML error status. |
Table "Values of the VML Status" lists possible values of the err parameter.
Status | Description |
---|---|
Successful Execution |
|
VML_STATUS_OK | The execution was completed successfully. |
Warnings |
|
VML_STATUS_ACCURACYWARNING | The execution was completed successfully in a different accuracy mode. |
Errors |
|
VML_STATUS_BADSIZE | The function does not support the preset accuracy mode. The Low Accuracy mode is used instead. |
VML_STATUS_BADMEM | NULL pointer is passed. |
VML_STATUS_ERRDOM | At least one of array values is out of a range of definition. |
VML_STATUS_SING | At least one of the input array values causes a divide-by-zero exception or produces an invalid (QNaN) result. |
VML_STATUS_OVERFLOW | An overflow has happened during the calculation process. |
VML_STATUS_UNDERFLOW | An underflow has happened during the calculation process. |