AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Inhalt   <<   <   >   >>   Index

Funktion zur Ermittlung des Vorzeichens ihres Arguments.

Syntax:          SGN(Faktor)

Argument     Jede beliebige Zahl

Ergebnis:     -1 für negative Argumente, 0 für null-wertige Argumente und +1 für positive Argumente.

Beispiele:     DEF FNsquare(th)=SGN(SIN(th))
          
IF SGN(a) <> SGN(b) THEN ...

[sh-index] Back to list of manuals