math
@@ -60,7 +60,7 @@ Chaque instruction en C se termine par un point-virgule ;.
|
||||
|
||||
Il existe deux manières d'écrire des commentaires : en-ligne ou en bloc.
|
||||
|
||||
Les commentaires en-ligne Doivent obligatoirement tenir sur une ligne. Ils Peuvent se trouver à la suite d'une instruction.
|
||||
Les commentaires en-ligne doivent obligatoirement tenir sur une ligne. Ils Peuvent se trouver à la suite d'une instruction.
|
||||
|
||||
```c
|
||||
// Calcul du discriminant
|
||||
|
||||
2
math.md
2
math.md
@@ -30,7 +30,7 @@ Ces trois fonctions retournent l'arrondi entier inférieur (en anglais floor sig
|
||||
> Attention aux valeurs négatives ! La valeur plancher de -5.21 est -6 car -6 est inférieure à -5.21.
|
||||
|
||||
Fonction | double | float | long double
|
||||
--- | --- | --- | ---
|
||||
---|---|--- | ---
|
||||
arrondi entier au plus proche | round | roundf | roundl
|
||||
arrondi entier supérieur | ceil | ceilf | ceill
|
||||
arrondi entier inférieur | floor | floorf | floorl
|
||||
|
||||
Reference in New Issue
Block a user