Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Integer Divided By Operator

M[UMPS] by Example

Arithmetic operator 'integer divided by' (\)

Introduced in the 1977 ANSI M[UMPS] language standard.

Reference   Value
9\3   3
5\2   2
-5\2   -2
1\2   0
-1\2   0

Definitely not equal to 1

Reference   Value
1\3*3   0

Added in the 1995 ANSI M[UMPS] language standard:

Reference   Value
X\0   Error (M9)
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-2022 MUMPS Development Committee;
Copyright © Examples: 1995-2022 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2022 Ed de Moel.

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:08:14 .

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