float_sign
Conceitos
Seção intitulada “Conceitos”Comportamento
Seção intitulada “Comportamento”- Retorna
1se o XFL for negativo, caso contrário retorna 0
- Retorna 1 se o XFL for negativo, caso contrário retorna 0
Definição
Seção intitulada “Definição”int64_t float_sign ( int64_t float1);function float_sign(f1: bigint): ErrorCode | numberExemplo
Seção intitulada “Exemplo”int64_t sign = float_sign(float_one());const sign = float_sign(float_one());Parâmetros
Seção intitulada “Parâmetros”| Nome | Tipo | Descrição |
|---|---|---|
| float1 | int64_t | Um número de ponto flutuante de envoltório XFL |
| Nome | Tipo | Descrição |
|---|---|---|
| f1 | bigint | O float do qual recuperar a mantissa. |
Código de Retorno
Seção intitulada “Código de Retorno”| Tipo | Descrição |
|---|---|
| int64_t | O sinal do XFL: |
| Tipo | Descrição |
|---|---|
| bigint ou ErrorCode | Um código de erro ou a mantissa como um bigint. |