Conversion DECIMALE >> Hexadecimale urgent
Résolu/Fermé
hosny
-
17 janv. 2008 à 21:24
Sacabouffe Messages postés 9427 Date d'inscription dimanche 19 août 2007 Statut Membre Dernière intervention 29 mai 2009 - 19 janv. 2008 à 15:05
Sacabouffe Messages postés 9427 Date d'inscription dimanche 19 août 2007 Statut Membre Dernière intervention 29 mai 2009 - 19 janv. 2008 à 15:05
A voir également:
- Conversion DECIMALE >> Hexadecimale urgent
- Conversion monnaie - Télécharger - Banque & Budget
- Conversion majuscule minuscule - Guide
- Conversion qwerty azerty - Guide
- Echelle 1/200 conversion ✓ - Forum Graphisme
- Conversion epub kindle - Guide
4 réponses
wodkassis
Messages postés
17
Date d'inscription
mardi 25 décembre 2007
Statut
Membre
Dernière intervention
21 décembre 2017
1
17 janv. 2008 à 21:29
17 janv. 2008 à 21:29
Va voir la dessus sa devrais t'aidé !! http://sebastienguillon.com/test/javascript/convertisseur.html
Sacabouffe
Messages postés
9427
Date d'inscription
dimanche 19 août 2007
Statut
Membre
Dernière intervention
29 mai 2009
1 832
18 janv. 2008 à 02:26
18 janv. 2008 à 02:26
Salut
Ça marche pas? Le convertisseur du lien de wodkassis marche très bien.
Enfin bon... la manière la voici.
Soit x un réel positif.
Alors x = ∑ x_n*16^n où pour tout n x_n Є {0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F} et où sup {n / n≠0} < +∞
Pour trouver les x_n:
1) Soit N = sup {n / n≠0}
Alors N = sup {n / 16^n ≤ x}
2) x_N = sup {y / y*16^N ≤ x}
3) x_(N-1) = sup {y / y*16^(N-1) ≤ x - x_N*16^N}
4) x_(N-2) = sup {y / y*16^(N-2) ≤ x - x_N*16^N - x_(N-1)*16^(N-1)}
5) x_(N-3) = sup {y / y*16^(N-2) ≤ x - x_N*16^N - x_(N-1)*16^(N-1) - x_(N-2)*16^(N-2)}
6) etc...
A plus
Ça marche pas? Le convertisseur du lien de wodkassis marche très bien.
Enfin bon... la manière la voici.
Soit x un réel positif.
Alors x = ∑ x_n*16^n où pour tout n x_n Є {0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F} et où sup {n / n≠0} < +∞
Pour trouver les x_n:
1) Soit N = sup {n / n≠0}
Alors N = sup {n / 16^n ≤ x}
2) x_N = sup {y / y*16^N ≤ x}
3) x_(N-1) = sup {y / y*16^(N-1) ≤ x - x_N*16^N}
4) x_(N-2) = sup {y / y*16^(N-2) ≤ x - x_N*16^N - x_(N-1)*16^(N-1)}
5) x_(N-3) = sup {y / y*16^(N-2) ≤ x - x_N*16^N - x_(N-1)*16^(N-1) - x_(N-2)*16^(N-2)}
6) etc...
A plus
Sacabouffe
Messages postés
9427
Date d'inscription
dimanche 19 août 2007
Statut
Membre
Dernière intervention
29 mai 2009
1 832
19 janv. 2008 à 15:05
19 janv. 2008 à 15:05
Désolé il y a une coquille dans ce que j'ai écrit...
Remplacer (les deux fois où ça apparait) sup {n / n≠0} par sup {n / x_n≠0}
Sinon c'est tout pourri...
Remplacer (les deux fois où ça apparait) sup {n / n≠0} par sup {n / x_n≠0}
Sinon c'est tout pourri...