Mathematical Functions

Introduzione

These math functions will only handle values within the range of the int and float types. To handle larger numbers, take a look at the arbitrary precision math or GNU Multiple Precision functions functions.

  • Costanti predefinite
  • RoundingMode โ€” The RoundingMode Enum
  • Math Funzioni
    • abs โ€” Valore assoluto
    • acos โ€” Arco coseno
    • acosh โ€” Inverso del coseno iperbolico
    • asin โ€” Arco seno
    • asinh โ€” Inverso del seno iperbolico
    • atan โ€” Arco tangente
    • atan2 โ€” Arco tangente di due variabili
    • atanh โ€” Inverso della tangente iperbolica
    • base_convert โ€” Converte un numero fra basi arbitrarie
    • bindec โ€” Da binario a decimale
    • ceil โ€” arrotonda le frazioni all'intero superiore
    • cos โ€” Coseno
    • cosh โ€” Coseno iperbolico
    • decbin โ€” Da decimale a binario
    • dechex โ€” Da decimale a esadecimale
    • decoct โ€” Da decimale a ottale
    • deg2rad โ€” Converte il numero dato in gradi nell'equivalente espresso in radianti
    • exp โ€” Calcola l'esponente di e (la base logaritmica naturale o di Nepero)
    • expm1 โ€” Restituisce exp(numero) - 1, computato in maniera tale da essere accurato anche se il valore del numero รจ vicino a zero
    • fdiv โ€” Divides two numbers, according to IEEE 754
    • floor โ€” Arrotonda le frazioni all'intero inferiore
    • fmod โ€” Returns the floating point remainder (modulo) of the division of the arguments
    • fpow โ€” Raise one number to the power of another, according to IEEE 754
    • hexdec โ€” Da esadecimale a decimale
    • hypot โ€” Restituisce sqrt(num1*num1 + num2*num2)
    • intdiv โ€” Integer division
    • is_finite โ€” Verifica se un numero dato รจ un numero finito
    • is_infinite โ€” Verifica se un dato valore รจ infinito
    • is_nan โ€” Verifica se un dato valore non sia un numero
    • log โ€” Logaritmo naturale
    • log10 โ€” Logaritmo base-10
    • log1p โ€” Restituisce log(1 + numero), computato in maniera tale da essere accurato anche se il valore del numero รจ vicino a zero
    • max โ€” Trova il valore massimo
    • min โ€” Trova il valore minimo
    • octdec โ€” Da ottale a decimale
    • pi โ€” Restituisce il valore di pi
    • pow โ€” Espressione esponenziale
    • rad2deg โ€” Converte un numero in radianti nell'equivalente numero in gradi
    • round โ€” Arrotonda un float
    • sin โ€” Seno
    • sinh โ€” Seno iperbolico
    • sqrt โ€” Radice quadrata
    • tan โ€” Tangente
    • tanh โ€” Tangente iperbolica
๏ผ‹add a note

User Contributed Notes

There are no user contributed notes for this page.