Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples
Left Hand Pointer

Error Code M95

M[UMPS] by Example

Right Hand Pointer

M95, Exponentiation returns complex number with non-zero imaginary part

Approved for inclusion in a future M[UMPS] language standard.

This error will occur when the result of an exponentiation operation is a complex number with a non-zero imaginary part. This may occur when a negative number is raised to a fractional power.

Reference   Value
-1**3   -1
-1**4   1
-32**0.2   -2
-1**.5   Error M95
-8**(1/3)   Error M95 (1/3 is never exactly the right value to make this result be -2
Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2017 MUMPS Development Committee;
Copyright © Examples: 1995-2017 Ed de Moel;
Copyright © Annotations: 2003-2017 Jacquard Systems Research.

The information in this page is NOT authoritative and subject to be modified at any moment.
Please consult the appropriate (draft) language standard for an authoritative definition.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 12-Sep-2014, 14:15:34 .

For comments, contact Ed de Moel (demoel@jacquardsystems.com)