☜ | $%SIGN^MATHDraft MDC Standard | ☞ |
SIGN^MATH : REAL ( X : REAL )
$%SIGN^MATH returns 0, –1, or 1, depending on the value of X. If X < 0, SIGN^MATH returns –1. If X equals 0, it returns 0. If X > 0, it returns 1.
Click here for $%SIGN^MATH sample code.
Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.
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, 13:51:20.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)