Abilitare JavaScript per vedere questo sito.

Funzione che rende 0 oppure rende 1 con il segno del valore specificato.

Sintassi

i32 sign (i32|real value)

value

Variabile real o i32 dalla quale prendere il segno.

Risultato

Rende:

Condizione

Valore

value < 0

-1

value = 0

0

value > 0

+1

Validità

Rule, Task.

Note


 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC