## × Sign of

One-argument form See also two-argument form Multiply

Shows the sign of the number(s) in the right-hand argument. Each positive number is represented by a 1, each negative number by a ¯1 and each zero by a 0.

                 ×33 98 0 ¯5
           1 1 0 ¯1
                 ×(¯33.1 0 27) 55 (2 2½¯2+¼4)
            ¯1 0 1  1    ¯1  0
                          1  1

Topic: APLX Help : Help on APL language : APL Primitives : × Sign of

[ Previous | Next | Contents | Index ]