User Tools

A PCRE internal error occured. This might be caused by a faulty plugin

====== Function MINUSP, PLUSP ====== ====Syntax==== * **minusp** //real// → //generalized-boolean// * **plusp** //real// → //generalized-boolean// ====Arguments and Values==== * //real// - a //[[CL:Glossary:real]]//. * //generalized-boolean// - a //[[CL:Glossary:generalized boolean]]//. ====Description==== **minusp** returns //[[CL:Glossary:true]]// if //real// is less than zero; otherwise, returns //[[CL:Glossary:false]]//. **plusp** returns //[[CL:Glossary:true[[CL:Functions:true]]]]// if //real// is greater than zero; otherwise, returns //[[CL:Glossary:false]]//. Regardless of whether an //[[CL:Glossary:implementation]]// provides distinct representations for positive and negative //[[CL:Glossary:float]]// zeros, ''(minusp -0.0)'' always returns //[[CL:Glossary:false]]//. ====Examples==== <blockquote> (minusp -1) → //[[CL:Glossary:true]]// (plusp 0) → //[[CL:Glossary:false]]// (plusp [[CL:Constant Variables:least-positive-single-float]]) → //[[CL:Glossary:true]]// </blockquote> ====Side Effects==== None. ====Affected By==== None. ====Exceptional Situations==== Should signal an error of type type-error if //real// is not a //[[CL:Glossary:real]]//. ====See Also==== None. ====Notes==== None.