@@ -6,14 +6,14 @@ msgstr ""
6
6
"Project-Id-Version : Python 3\n "
7
7
"Report-Msgid-Bugs-To : \n "
8
8
"POT-Creation-Date : 2022-03-23 18:39+0100\n "
9
- "PO-Revision-Date : 2021-09-25 11:38 +0200\n "
9
+ "PO-Revision-Date : 2022-04-24 16:31 +0200\n "
10
10
"Last-Translator : Mathieu Dupuy <deronnax@gmail.com>\n "
11
11
"Language-Team : FRENCH <traductions@lists.afpy.org>\n "
12
12
"Language : fr\n "
13
13
"MIME-Version : 1.0\n "
14
14
"Content-Type : text/plain; charset=UTF-8\n "
15
15
"Content-Transfer-Encoding : 8bit\n "
16
- "X-Generator : Poedit 2.3.1 \n "
16
+ "X-Generator : Poedit 2.4.2 \n "
17
17
18
18
#: tutorial/floatingpoint.rst:9
19
19
msgid "Floating Point Arithmetic: Issues and Limitations"
@@ -29,6 +29,22 @@ msgid ""
29
29
"values, the only real difference being that the first is written in base 10 "
30
30
"fractional notation, and the second in base 2."
31
31
msgstr ""
32
+ "Les nombres à virgule flottante sont représentés, au niveau matériel, en "
33
+ "fractions de nombres binaires (base 2). Par exemple, la fraction décimale "
34
+ "``0.125`` a la valeur 1/10 + 2/100 + 5/1000 et, de la même manière, la "
35
+ "fraction binaire..."
36
+
37
+ #: tutorial/floatingpoint.rst:19
38
+ msgid ""
39
+ "has value 1/10 + 2/100 + 5/1000, and in the same way the binary fraction ::"
40
+ msgstr ""
41
+
42
+ #: tutorial/floatingpoint.rst:23
43
+ msgid ""
44
+ "has value 0/2 + 0/4 + 1/8. These two fractions have identical values, the "
45
+ "only real difference being that the first is written in base 10 fractional "
46
+ "notation, and the second in base 2."
47
+ msgstr ""
32
48
"a la valeur 0/2 + 0/4 + 1/8. Ces deux fractions ont une valeur identique, la "
33
49
"seule différence est que la première est une fraction décimale, la seconde "
34
50
"est une fraction binaire."
@@ -55,7 +71,7 @@ msgstr ""
55
71
56
72
#: tutorial/floatingpoint.rst:35
57
73
msgid "or, better, ::"
58
- msgstr "ou, mieux, ::"
74
+ msgstr "ou, mieux ::"
59
75
60
76
#: tutorial/floatingpoint.rst:39
61
77
msgid ""
@@ -75,7 +91,7 @@ msgid ""
75
91
msgstr ""
76
92
"De la même manière, peu importe combien de décimales en base 2 vous "
77
93
"utilisez, la valeur décimale 0.1 ne peut pas être représentée exactement en "
78
- "fraction binaire. En base 2, 1/10 est le nombre périodique suivant ::"
94
+ "fraction binaire. En base 2, 1/10 est le nombre périodique suivant ::"
79
95
80
96
#: tutorial/floatingpoint.rst:49
81
97
msgid ""
@@ -105,7 +121,7 @@ msgstr ""
105
121
"il est facile d'oublier que la valeur stockée est une approximation de la "
106
122
"fraction décimale d'origine. Python n'affiche qu'une approximation décimale "
107
123
"de la valeur stockée en binaire. Si Python devait afficher la vraie valeur "
108
- "décimale de l'approximation binaire stockée pour 0,1, il afficherait ::"
124
+ "décimale de l'approximation binaire stockée pour 0,1, il afficherait ::"
109
125
110
126
#: tutorial/floatingpoint.rst:65
111
127
msgid ""
@@ -114,7 +130,7 @@ msgid ""
114
130
msgstr ""
115
131
"C'est bien plus de décimales que ce qu'attendent la plupart des "
116
132
"utilisateurs, donc Python affiche une valeur arrondie afin d'améliorer la "
117
- "lisibilité ::"
133
+ "lisibilité ::"
118
134
119
135
#: tutorial/floatingpoint.rst:71
120
136
msgid ""
@@ -219,7 +235,6 @@ msgstr ""
219
235
"arrondir deux valeurs inexactes et pouvoir les comparer ::"
220
236
221
237
#: tutorial/floatingpoint.rst:128
222
- #, fuzzy
223
238
msgid ""
224
239
"Binary floating-point arithmetic holds many surprises like this. The "
225
240
"problem with \" 0.1\" is explained in precise detail below, in the "
@@ -393,11 +408,10 @@ msgstr ""
393
408
msgid ""
394
409
"Why is that? 1/10 is not exactly representable as a binary fraction. Almost "
395
410
"all machines today (November 2000) use IEEE-754 floating point arithmetic, "
396
- "and almost all platforms map Python floats to IEEE-754 \" double "
397
- "precision\" . 754 doubles contain 53 bits of precision, so on input the "
398
- "computer strives to convert 0.1 to the closest fraction it can of the form "
399
- "*J*/2**\\ *N* where *J* is an integer containing exactly 53 bits. "
400
- "Rewriting ::"
411
+ "and almost all platforms map Python floats to IEEE-754 \" double precision"
412
+ "\" . 754 doubles contain 53 bits of precision, so on input the computer "
413
+ "strives to convert 0.1 to the closest fraction it can of the form *J*/2**\\ "
414
+ "*N* where *J* is an integer containing exactly 53 bits. Rewriting ::"
401
415
msgstr ""
402
416
"Pourquoi ? 1/10 n'est pas représentable de manière exacte en fraction "
403
417
"binaire. Cependant, toutes les machines d'aujourd'hui (novembre 2000) "
@@ -407,11 +421,11 @@ msgstr ""
407
421
"double précision » utilisent 53 bits de précision donc, à la lecture, "
408
422
"l'ordinateur essaie de convertir 0,1 dans la fraction la plus proche "
409
423
"possible de la forme *J*/2**\\ *N* avec *J* un nombre entier d'exactement 53 "
410
- "bits. Pour réécrire ::"
424
+ "bits. Pour réécrire ::"
411
425
412
426
#: tutorial/floatingpoint.rst:223
413
427
msgid "as ::"
414
- msgstr "en ::"
428
+ msgstr "en ::"
415
429
416
430
#: tutorial/floatingpoint.rst:227
417
431
msgid ""
@@ -477,7 +491,7 @@ msgid ""
477
491
"If we multiply that fraction by 10\\ *\\ *55, we can see the value out to 55 "
478
492
"decimal digits::"
479
493
msgstr ""
480
- "Si nous multiplions cette fraction par 10\\ *\\ *30 , nous pouvons observer les "
494
+ "Si nous multiplions cette fraction par 10\\ *\\ *55 , nous pouvons observer les "
481
495
"valeurs de ses 55 décimales de poids fort ::"
482
496
483
497
#: tutorial/floatingpoint.rst:270
@@ -499,18 +513,3 @@ msgid ""
499
513
"easy::"
500
514
msgstr ""
501
515
"Les modules :mod:`fractions` et :mod:`decimal` rendent simples ces calculs ::"
502
-
503
- #~ msgid ""
504
- #~ "Floating-point numbers are represented in computer hardware as base 2 "
505
- #~ "(binary) fractions. For example, the decimal fraction ::"
506
- #~ msgstr ""
507
- #~ "Les nombres à virgule flottante sont représentés, au niveau matériel, en "
508
- #~ "fractions de nombres binaires (base 2). Par exemple, la fraction "
509
- #~ "décimale ::"
510
-
511
- #~ msgid ""
512
- #~ "has value 1/10 + 2/100 + 5/1000, and in the same way the binary "
513
- #~ "fraction ::"
514
- #~ msgstr ""
515
- #~ "a la valeur 1/10 + 2/100 + 5/1000 et, de la même manière, la fraction "
516
- #~ "binaire ::"
0 commit comments