Determine whether a value is a negative number.
This function determines negative numbers. If number is an integer or a real number and it has a negative value, the minusp function returns a T. Otherwise it returns a nil.
Examples
Code | Returns |
---|---|
(minusp -2.4) | T |
(minusp 8.5) | nil |
(minusp -26) | T |
Tell me about...
Programming Overview of LISP (LISt Processing) Language
Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved. |