« Programmation/Abstraction » : différence entre les versions

Contenu supprimé Contenu ajouté
Tavernier (discussion | contributions)
fix
Tavernier (discussion | contributions)
fix
Ligne 60 :
Ainsi
 
<math>\frac{765}{2} = 382 \ reste \ 1 </math>
 
<math>\frac{382}{2} = 191 \ reste \ 0 </math>
 
<math>\frac{191}{2} = 95 \ reste \ 1 </math>
 
<math>\frac{95}{2} = 47 \ reste \ 1 </math>
 
<math>\frac{47}{2} = 23 \ reste \ 1 </math>
 
<math>\frac{23}{2} = 11 \ reste \ 1 </math>
 
<math>\frac{11}{2} = 5 \ reste \ 1 </math>
 
<math>\frac{5}{2} = 2 \ reste \ 1 </math>
 
<math>\frac{2}{2} = 1 \ reste \ 0 </math>
 
<math>\frac{1}{2} = 0 \ reste \ 1 </math>
 
finalement <math>1011111101</math> pour la partie entière. Mais comment représenter la partie fractionnée ?