Lo que todo programador debería saber sobre aritmética de punto flotante
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Cambiada nomenclatura a «punto flotante»

+160 -135
+1 -1
CNAME
··· 1 - comaflotante.org 1 + puntoflotante.org
+12 -12
basic/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - Respuestas Básicas</title> 5 + <title>La Guía del Punto Flotante - Respuestas Básicas</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 9 - <meta name="Description" content="Respuestas concisas a preguntas básicas sobre aritmética de coma flotante, como «¿Por qué mis números no se suman bien?»"> 9 + <meta name="Description" content="Respuestas concisas a preguntas básicas sobre aritmética de punto flotante, como «¿por qué mis números no se suman bien?»"> 10 10 11 11 <link rel="stylesheet" type="text/css" href="/style.css" media="screen"> 12 12 <link rel="shortcut icon" href="/favicon.ico" type="image/vnd.microsoft.icon"> ··· 15 15 <body> 16 16 <div id="main"> 17 17 <h1>Respuestas Básicas</h1> 18 - <h3 id="por-qu-al-sumar-mis-nmeros-como-01--02-en-vez-de-dar-03-dan-un-resultado-extrao-como-030000000000000004">¿Por qué al sumar mis números, como 0.1 + 0.2, en vez de dar 0.3 dan un resultado extraño como 0.30000000000000004?</h3> 18 + <h3 id="por-qu-al-sumar-mis-nmeros-como-01--02-en-vez-de-dar-03-da-un-resultado-extrao-como-030000000000000004">¿Por qué al sumar mis números, como 0.1 + 0.2, en vez de dar 0.3 da un resultado extraño como 0.30000000000000004?</h3> 19 19 20 - <p>Porque internamente, los ordenadores usan un formato (<a href="/formats/fp">coma flotante</a> <a href="/formats/binary">binario</a>) 20 + <p>Porque internamente, los ordenadores usan un formato (<a href="/formats/fp">punto flotante</a> <a href="/formats/binary">binario</a>) 21 21 que no puede representar de forma precisa números como 0.1, 0.2 o 0.3 <em>de ninguna manera</em>.</p> 22 22 23 23 <p>Cuando el código es compilado o interpretado, tu “0.1” se redondea ··· 49 49 <h3 id="por-qu-otros-clculos-como-01--04-s-funcionan-bien">¿Por qué otros cálculos como 0.1 + 0.4 sí funcionan bien?</h3> 50 50 51 51 <p>En este caso, el resultado (0.5) <em>sí</em> puede ser representado de manera exacta como un 52 - número de coma flotante, y es posible que los errores de redondeo de los datos de partida 52 + número de punto flotante, y es posible que los errores de redondeo de los datos de partida 53 53 se cancelen entre sí - aunque no se debería confiar excesivamente en esto (e.g. cuando 54 - esos dos números fueron almacenados en representaciones de coma flotante de diferente 54 + esos dos números fueron almacenados en representaciones de punto flotante de diferente 55 55 tamaño, los errores de redondeo pueden no cancelarse entre ellos).</p> 56 56 57 57 <p>En otros casos como 0.1 + 0.3, el resultado no es <em>realmente</em> 0.4, pero está lo suficientemente 58 58 cerca como para que 0.4 sea el número más corto que está más cerca del resultado que cualquier 59 - otro número de coma flotante. La mayoría de lenguajes presentan ese número en vez de convertir 59 + otro número de punto flotante. La mayoría de lenguajes presentan ese número en vez de convertir 60 60 el resultado real a una fracción decimal.</p> 61 61 62 62 <p>Si quieres más información, puedes acudir a las <a href="/references/">referencias</a>.</p> 63 63 64 - <g:plusone href="http://comaflotante.org/"></g:plusone> 64 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 65 65 <div id="license"> 66 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 66 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 67 67 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 68 68 Original en inglés por Michael Borgwardt en 69 69 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 71 71 </div> 72 72 <div id="sidebar"> 73 73 <img src="/logo.png"> 74 - <h2>La Guía de la Coma Flotante</h2> 74 + <h2>La Guía del Punto Flotante</h2> 75 75 <ul> 76 76 <li><a href="/">Inicio</a></li> 77 77 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 82 82 <h2>Formatos Numéricos</h2> 83 83 <ul> 84 84 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 85 - <li><a href="/formats/fp/">Coma Flotante</a></li> 85 + <li><a href="/formats/fp/">Punto Flotante</a></li> 86 86 <li><a href="/formats/exact/">Tipos Exactos</a></li> 87 87 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 88 88 </ul> ··· 105 105 <li><a href="/languages/sql/">SQL</a></li> 106 106 </ul> 107 107 </div> 108 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 108 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 109 109 110 110 </body> 111 111 </html>
+6 -6
errors/comparison/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - Comparison</title> 5 + <title>La Guía del Punto Flotante - Comparison</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 ··· 84 84 85 85 <p>However, this method does require the programming language to support conversion between floating-point values and integer bit patterns. Read the <a href="/references/">Comparing floating-point numbers</a> paper for more details.</p> 86 86 87 - <g:plusone href="http://comaflotante.org/"></g:plusone> 87 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 88 88 <div id="license"> 89 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 89 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 90 90 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 91 91 Original en inglés por Michael Borgwardt en 92 92 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 94 94 </div> 95 95 <div id="sidebar"> 96 96 <img src="/logo.png"> 97 - <h2>La Guía de la Coma Flotante</h2> 97 + <h2>La Guía del Punto Flotante</h2> 98 98 <ul> 99 99 <li><a href="/">Inicio</a></li> 100 100 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 105 105 <h2>Formatos Numéricos</h2> 106 106 <ul> 107 107 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 108 - <li><a href="/formats/fp/">Coma Flotante</a></li> 108 + <li><a href="/formats/fp/">Punto Flotante</a></li> 109 109 <li><a href="/formats/exact/">Tipos Exactos</a></li> 110 110 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 111 111 </ul> ··· 128 128 <li><a href="/languages/sql/">SQL</a></li> 129 129 </ul> 130 130 </div> 131 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 131 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 132 132 133 133 </body> 134 134 </html>
+6 -6
errors/propagation/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - Error Propagation</title> 5 + <title>La Guía del Punto Flotante - Error Propagation</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 ··· 42 42 and served as an inspiration for creating this website, mainly due to being a bit too detailed and 43 43 intimidating to programmers without a scientific background.</p> 44 44 45 - <g:plusone href="http://comaflotante.org/"></g:plusone> 45 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 46 46 <div id="license"> 47 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 47 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 48 48 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 49 49 Original en inglés por Michael Borgwardt en 50 50 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 52 52 </div> 53 53 <div id="sidebar"> 54 54 <img src="/logo.png"> 55 - <h2>La Guía de la Coma Flotante</h2> 55 + <h2>La Guía del Punto Flotante</h2> 56 56 <ul> 57 57 <li><a href="/">Inicio</a></li> 58 58 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 63 63 <h2>Formatos Numéricos</h2> 64 64 <ul> 65 65 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 66 - <li><a href="/formats/fp/">Coma Flotante</a></li> 66 + <li><a href="/formats/fp/">Punto Flotante</a></li> 67 67 <li><a href="/formats/exact/">Tipos Exactos</a></li> 68 68 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 69 69 </ul> ··· 86 86 <li><a href="/languages/sql/">SQL</a></li> 87 87 </ul> 88 88 </div> 89 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 89 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 90 90 91 91 </body> 92 92 </html>
+6 -6
errors/rounding/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - Rounding Errors</title> 5 + <title>La Guía del Punto Flotante - Rounding Errors</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 ··· 112 112 113 113 <p>More <a href="http://en.wikipedia.org/wiki/Rounding">rounding methods</a> can be found at Wikipedia.</p> 114 114 115 - <g:plusone href="http://comaflotante.org/"></g:plusone> 115 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 116 116 <div id="license"> 117 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 117 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 118 118 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 119 119 Original en inglés por Michael Borgwardt en 120 120 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 122 122 </div> 123 123 <div id="sidebar"> 124 124 <img src="/logo.png"> 125 - <h2>La Guía de la Coma Flotante</h2> 125 + <h2>La Guía del Punto Flotante</h2> 126 126 <ul> 127 127 <li><a href="/">Inicio</a></li> 128 128 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 133 133 <h2>Formatos Numéricos</h2> 134 134 <ul> 135 135 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 136 - <li><a href="/formats/fp/">Coma Flotante</a></li> 136 + <li><a href="/formats/fp/">Punto Flotante</a></li> 137 137 <li><a href="/formats/exact/">Tipos Exactos</a></li> 138 138 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 139 139 </ul> ··· 156 156 <li><a href="/languages/sql/">SQL</a></li> 157 157 </ul> 158 158 </div> 159 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 159 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 160 160 161 161 </body> 162 162 </html>
+6 -6
formats/binary/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - Binary Fractions</title> 5 + <title>La Guía del Punto Flotante - Binary Fractions</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 ··· 133 133 <p>Since the difference in behaviour between binary and decimal numbers is not important for most applications, the logical choice is to build computers based on binary numbers and live with the fact 134 134 that some extra care and effort are necessary for applications that require <a href="/formats/exact/">decimal-like behaviour</a>.</p> 135 135 136 - <g:plusone href="http://comaflotante.org/"></g:plusone> 136 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 137 137 <div id="license"> 138 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 138 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 139 139 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 140 140 Original en inglés por Michael Borgwardt en 141 141 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 143 143 </div> 144 144 <div id="sidebar"> 145 145 <img src="/logo.png"> 146 - <h2>La Guía de la Coma Flotante</h2> 146 + <h2>La Guía del Punto Flotante</h2> 147 147 <ul> 148 148 <li><a href="/">Inicio</a></li> 149 149 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 154 154 <h2>Formatos Numéricos</h2> 155 155 <ul> 156 156 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 157 - <li><a href="/formats/fp/">Coma Flotante</a></li> 157 + <li><a href="/formats/fp/">Punto Flotante</a></li> 158 158 <li><a href="/formats/exact/">Tipos Exactos</a></li> 159 159 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 160 160 </ul> ··· 177 177 <li><a href="/languages/sql/">SQL</a></li> 178 178 </ul> 179 179 </div> 180 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 180 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 181 181 182 182 </body> 183 183 </html>
+6 -6
formats/exact/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - Exact Types</title> 5 + <title>La Guía del Punto Flotante - Exact Types</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 ··· 46 46 even many mathematicians work on problems where imprecise, numerical solutions are better because no 47 47 symbolic solution is known.</p> 48 48 49 - <g:plusone href="http://comaflotante.org/"></g:plusone> 49 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 50 50 <div id="license"> 51 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 51 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 52 52 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 53 53 Original en inglés por Michael Borgwardt en 54 54 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 56 56 </div> 57 57 <div id="sidebar"> 58 58 <img src="/logo.png"> 59 - <h2>La Guía de la Coma Flotante</h2> 59 + <h2>La Guía del Punto Flotante</h2> 60 60 <ul> 61 61 <li><a href="/">Inicio</a></li> 62 62 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 67 67 <h2>Formatos Numéricos</h2> 68 68 <ul> 69 69 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 70 - <li><a href="/formats/fp/">Coma Flotante</a></li> 70 + <li><a href="/formats/fp/">Punto Flotante</a></li> 71 71 <li><a href="/formats/exact/">Tipos Exactos</a></li> 72 72 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 73 73 </ul> ··· 90 90 <li><a href="/languages/sql/">SQL</a></li> 91 91 </ul> 92 92 </div> 93 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 93 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 94 94 95 95 </body> 96 96 </html>
+21 -15
formats/fp/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - Floating Point Numbers</title> 5 + <title>La Guía del Punto Flotante - Números de Coma Flotante</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 9 - <meta name="Description" content="Explanation of how floating-points numbers work and what they are good for"> 9 + <meta name="Description" content="Explicación de cómo funcionan los números de coma flotante y para qué son útiles"> 10 10 11 11 <link rel="stylesheet" type="text/css" href="/style.css" media="screen"> 12 12 <link rel="shortcut icon" href="/favicon.ico" type="image/vnd.microsoft.icon"> ··· 14 14 </head> 15 15 <body> 16 16 <div id="main"> 17 - <h1>Floating Point Numbers</h1> 18 - <h2 id="why-floating-point-numbers-are-needed">Why floating-point numbers are needed</h2> 17 + <h1>Números de Coma Flotante</h1> 18 + <h2 id="por-qu-son-necesarios-los-nmeros-de-coma-flotante">Por qué son necesarios los números de coma flotante</h2> 19 19 20 - <p>Since computer memory is limited, you cannot store numbers with infinite precision, no matter whether you use <a href="/formats/binary/">binary fractions</a> or decimal ones: at some point you have to cut off. But how much accuracy is needed? And <em>where</em> is it needed? How many integer digits and how many fraction digits? </p> 20 + <p>Como la memoria de los ordenadores es limitada, no puedes almacenar números 21 + con precisión infinita, no importa si usas <a href="/formats/binary/">fracciones binarias</a> o 22 + decimales: en algún punto tienes que cortar. Pero ¿cuánta precisión se necesita? 23 + ¿Y <em>dónde</em> se necesita? ¿Cuántos dígitos enteros y cuántos fraccionarios?</p> 21 24 22 25 <ul> 23 - <li>To an engineer building a highway, it does not matter whether it’s 10 meters or 10.0001 meters wide - his measurements are probably not that accurate in the first place.</li> 24 - <li>To someone designing a microchip, 0.0001 meters (a tenth of a millimeter) is a <em>huge</em> difference - But he’ll never have to deal with a distance larger than 0.1 meters.</li> 25 - <li>A physicist needs to use the <a href="http://en.wikipedia.org/wiki/Speed_of_light">speed of light</a> (about 300000000) and <a href="http://en.wikipedia.org/wiki/Gravitational_constant">Newton’s gravitational constant</a> (about 0.0000000000667) together in the same calculation.</li> 26 + <li>Para un ingeniero construyendo una autopista, no importa si tiene 10 metros o 10.0001 metros de ancho - posiblemente ni siquiera sus mediciones eran así de precisas.</li> 27 + <li>Para alguien diseñando un microchip, 0.0001 metros (la décima parte de un milímetro) es una diferencia <em>enorme</em> - pero nunca tendrá que manejar distancias mayores de 0.1 metros.</li> 28 + <li>Un físico necesita usar la <a href="http://es.wikipedia.org/wiki/Velocidad_de_la_luz">velocidad de la luz</a> (más o menos 300000000) y la <a href="http://es.wikipedia.org/wiki/Constante_de_gravitaci%C3%B3n_universal">constante de gravitación universal</a> (más o menos 0.0000000000667) juntas en el mismo cálculo.</li> 26 29 </ul> 27 30 28 - <p>To satisfy the engineer and the chip designer, a number format has to provide accuracy for numbers at very different magnitudes. However, only <em>relative</em> accuracy is needed. To satisfy the physicist, it must be possible to do calculations that involve numbers with different magnitudes.</p> 31 + <p>Para satisfacer al ingeniero y al diseñador de circuitos integrados, el formato 32 + tiene que ser preciso para números de órdenes de magnitud muy diferentes. Sin 33 + embargo, solo se necesita precisión <em>relativa</em>. Para satisfacer al físico, debe 34 + ser posible hacer cálculos que involucren números de órdenes muy dispares.</p> 29 35 30 - <p>Basically, having a fixed number of integer and fractional digits is not useful - and the solution is a format with a <em>floating point</em>.</p> 36 + <p>Básicamente, tener un número fijo de dígitos enteros y fraccionarios no es útil - y la solución es un formato con una <em>coma flotante</em>.</p> 31 37 32 38 <h2 id="how-floating-point-numbers-work">How floating-point numbers work</h2> 33 39 <p>The idea is to compose a number of two main parts:</p> ··· 132 138 <li>There are special <strong>not a number</strong> (or NaN) values where the exponent is all 1-bits and the significand is <em>not</em> all 0-bits. These represent the result of various undefined calculations (like multiplying 0 and infinity, any calculation involving a NaN value, or application-specific cases). Even bit-identical NaN values must <em>not</em> be considered equal.</li> 133 139 </ul> 134 140 135 - <g:plusone href="http://comaflotante.org/"></g:plusone> 141 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 136 142 <div id="license"> 137 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 143 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 138 144 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 139 145 Original en inglés por Michael Borgwardt en 140 146 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 142 148 </div> 143 149 <div id="sidebar"> 144 150 <img src="/logo.png"> 145 - <h2>La Guía de la Coma Flotante</h2> 151 + <h2>La Guía del Punto Flotante</h2> 146 152 <ul> 147 153 <li><a href="/">Inicio</a></li> 148 154 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 153 159 <h2>Formatos Numéricos</h2> 154 160 <ul> 155 161 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 156 - <li><a href="/formats/fp/">Coma Flotante</a></li> 162 + <li><a href="/formats/fp/">Punto Flotante</a></li> 157 163 <li><a href="/formats/exact/">Tipos Exactos</a></li> 158 164 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 159 165 </ul> ··· 176 182 <li><a href="/languages/sql/">SQL</a></li> 177 183 </ul> 178 184 </div> 179 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 185 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 180 186 181 187 </body> 182 188 </html>
+6 -6
formats/integer/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - On Using Integers</title> 5 + <title>La Guía del Punto Flotante - On Using Integers</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 ··· 27 27 28 28 <p>Summary: <strong>using integers is not recommended.</strong> Do this only if there really is no <a href="/formats/exact/">better alternative</a> at all.</p> 29 29 30 - <g:plusone href="http://comaflotante.org/"></g:plusone> 30 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 31 31 <div id="license"> 32 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 32 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 33 33 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 34 34 Original en inglés por Michael Borgwardt en 35 35 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 37 37 </div> 38 38 <div id="sidebar"> 39 39 <img src="/logo.png"> 40 - <h2>La Guía de la Coma Flotante</h2> 40 + <h2>La Guía del Punto Flotante</h2> 41 41 <ul> 42 42 <li><a href="/">Inicio</a></li> 43 43 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 48 48 <h2>Formatos Numéricos</h2> 49 49 <ul> 50 50 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 51 - <li><a href="/formats/fp/">Coma Flotante</a></li> 51 + <li><a href="/formats/fp/">Punto Flotante</a></li> 52 52 <li><a href="/formats/exact/">Tipos Exactos</a></li> 53 53 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 54 54 </ul> ··· 71 71 <li><a href="/languages/sql/">SQL</a></li> 72 72 </ul> 73 73 </div> 74 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 74 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 75 75 76 76 </body> 77 77 </html>
+25 -13
index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - Lo Que Todo Programador Debería Saber Sobre Aritmética de Coma Flotante</title> 5 + <title>La Guía del Punto Flotante - Lo Que Todo Programador Debería Saber Sobre Aritmética de Punto Flotante</title> 6 6 7 7 <meta name="google-site-verification" content="z_HIqTasE3WzbdPlabxF1mLMXO7pXofeGzF397vz20Q" /> 8 8 9 9 <meta name="generator" content="nanoc 3.1.2"> 10 10 11 - <meta name="Description" content="Pretende dar respuestas cortas y sencillas a las preguntas recurrentes de programadores principiantes sobre números de coma flotante que «no se suman correctamente», e información más detallada sobre cómo funcionan los números decimales del IEEE 754, cuándo y cómo usarlos correctamente, y qué usar en su lugar cuando no son apropiados."> 11 + <meta name="Description" content="Pretende dar respuestas cortas y sencillas a las preguntas recurrentes de programadores principiantes sobre números de punto flotante que «no se suman correctamente», e información más detallada sobre cómo funcionan los números decimales del IEEE 754, cuándo y cómo usarlos correctamente, y qué usar en su lugar cuando no son apropiados"> 12 12 13 13 <link rel="stylesheet" type="text/css" href="/style.css" media="screen"> 14 14 <link rel="shortcut icon" href="/favicon.ico" type="image/vnd.microsoft.icon"> ··· 16 16 </head> 17 17 <body> 18 18 <div id="main"> 19 - <h1>Lo Que Todo Programador Debería Saber Sobre Aritmética de Coma Flotante</h1> 19 + <h1>Lo Que Todo Programador Debería Saber Sobre Aritmética de Punto Flotante</h1> 20 20 <h2 id="o">o</h2> 21 21 22 22 <h1 id="por-qu-mis-nmeros-no-se-suman-bien">¿Por qué mis números no se suman bien?</h1> 23 23 24 - <p>O sea que has escrito algún código absurdamente simple, como por ejemplo<sup>1</sup>:</p> 24 + <p>O sea que has escrito algún código absurdamente simple, como por ejemplo:</p> 25 25 26 26 <pre><code> 0.1 + 0.2 27 27 </code></pre> ··· 38 38 <ul> 39 39 <li>Explicar de manera concisa por qué obtuviste ese resultado inesperado</li> 40 40 <li>Decirte cómo lidiar con este problema</li> 41 - <li>Si te interesa, dar explicaciones detalladas de por qué los números de coma flotante tienen que funcionar así y qué otros problemas pueden surgir</li> 41 + <li>Si te interesa, dar explicaciones detalladas de por qué los números de punto flotante tienen que funcionar así y qué otros problemas pueden surgir</li> 42 42 </ul> 43 43 44 44 <p>Deberías ir a la sección de <a href="/basic/">Respuestas Básicas</a> primero - ¡pero no termines ahí!</p> 45 45 46 - <p><sup>1</sup> <small>Las Academias de la Lengua <a href="http://www.tex-tipografia.com/marca_decimal.html">recomiendan el punto como separador para las cifras 47 - decimales</a>, convergiendo así con 48 - la notación anglosajona que es la que se utiliza en la mayoría de lenguajes de programación.</small></p> 46 + <h3 id="sobre-la-notacin-y-la-nomenclatura">Sobre la notación y la nomenclatura</h3> 49 47 50 - <g:plusone href="http://comaflotante.org/"></g:plusone> 48 + <p>Aunque tanto la punto como el punto como marcas decimales son válidas según el 49 + Sistema Internacional y la norma ISO<sup>1</sup>, las Academias de la Lengua recomiendan el 50 + punto como separador para las cifras decimales<sup>2</sup>. Esto facilita las cosas, 51 + porque se converge así con la notación anglosajona que es la que se utiliza en la mayoría de 52 + lenguajes de programación. En este sitio se ha optado por la denominación «punto 53 + flotante» en lugar de «coma flotante», puesto que la Fundación del Español Urgente 54 + (<a href="http://www.fundeu.es/">Fundéu BBVA</a>) especificó en una consulta 55 + que debe haber correspondencia con el criterio adoptado para la marca decimal. </p> 56 + 57 + <ol> 58 + <li>http://www.tex-tipografia.com/marca_decimal.html</li> 59 + <li>http://www.tex-tipografia.com/ortografia_notaciones.html</li> 60 + </ol> 61 + 62 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 51 63 <div id="license"> 52 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 64 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 53 65 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 54 66 Original en inglés por Michael Borgwardt en 55 67 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 57 69 </div> 58 70 <div id="sidebar"> 59 71 <img src="/logo.png"> 60 - <h2>La Guía de la Coma Flotante</h2> 72 + <h2>La Guía del Punto Flotante</h2> 61 73 <ul> 62 74 <li><a href="/">Inicio</a></li> 63 75 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 68 80 <h2>Formatos Numéricos</h2> 69 81 <ul> 70 82 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 71 - <li><a href="/formats/fp/">Coma Flotante</a></li> 83 + <li><a href="/formats/fp/">Punto Flotante</a></li> 72 84 <li><a href="/formats/exact/">Tipos Exactos</a></li> 73 85 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 74 86 </ul> ··· 91 103 <li><a href="/languages/sql/">SQL</a></li> 92 104 </ul> 93 105 </div> 94 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 106 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 95 107 96 108 </body> 97 109 </html>
+6 -6
languages/csharp/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - Floating-point cheat sheet for C#</title> 5 + <title>La Guía del Punto Flotante - Floating-point cheat sheet for C#</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 ··· 47 47 </li> 48 48 </ul> 49 49 50 - <g:plusone href="http://comaflotante.org/"></g:plusone> 50 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 51 51 <div id="license"> 52 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 52 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 53 53 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 54 54 Original en inglés por Michael Borgwardt en 55 55 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 57 57 </div> 58 58 <div id="sidebar"> 59 59 <img src="/logo.png"> 60 - <h2>La Guía de la Coma Flotante</h2> 60 + <h2>La Guía del Punto Flotante</h2> 61 61 <ul> 62 62 <li><a href="/">Inicio</a></li> 63 63 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 68 68 <h2>Formatos Numéricos</h2> 69 69 <ul> 70 70 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 71 - <li><a href="/formats/fp/">Coma Flotante</a></li> 71 + <li><a href="/formats/fp/">Punto Flotante</a></li> 72 72 <li><a href="/formats/exact/">Tipos Exactos</a></li> 73 73 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 74 74 </ul> ··· 91 91 <li><a href="/languages/sql/">SQL</a></li> 92 92 </ul> 93 93 </div> 94 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 94 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 95 95 96 96 </body> 97 97 </html>
+6 -6
languages/java/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - Floating-point cheat sheet for Java</title> 5 + <title>La Guía del Punto Flotante - Floating-point cheat sheet for Java</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 ··· 73 73 </li> 74 74 </ul> 75 75 76 - <g:plusone href="http://comaflotante.org/"></g:plusone> 76 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 77 77 <div id="license"> 78 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 78 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 79 79 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 80 80 Original en inglés por Michael Borgwardt en 81 81 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 83 83 </div> 84 84 <div id="sidebar"> 85 85 <img src="/logo.png"> 86 - <h2>La Guía de la Coma Flotante</h2> 86 + <h2>La Guía del Punto Flotante</h2> 87 87 <ul> 88 88 <li><a href="/">Inicio</a></li> 89 89 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 94 94 <h2>Formatos Numéricos</h2> 95 95 <ul> 96 96 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 97 - <li><a href="/formats/fp/">Coma Flotante</a></li> 97 + <li><a href="/formats/fp/">Punto Flotante</a></li> 98 98 <li><a href="/formats/exact/">Tipos Exactos</a></li> 99 99 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 100 100 </ul> ··· 117 117 <li><a href="/languages/sql/">SQL</a></li> 118 118 </ul> 119 119 </div> 120 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 120 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 121 121 122 122 </body> 123 123 </html>
+6 -6
languages/javascript/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - Floating-point cheat sheet for JavaScript</title> 5 + <title>La Guía del Punto Flotante - Floating-point cheat sheet for JavaScript</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 ··· 55 55 </li> 56 56 </ul> 57 57 58 - <g:plusone href="http://comaflotante.org/"></g:plusone> 58 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 59 59 <div id="license"> 60 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 60 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 61 61 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 62 62 Original en inglés por Michael Borgwardt en 63 63 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 65 65 </div> 66 66 <div id="sidebar"> 67 67 <img src="/logo.png"> 68 - <h2>La Guía de la Coma Flotante</h2> 68 + <h2>La Guía del Punto Flotante</h2> 69 69 <ul> 70 70 <li><a href="/">Inicio</a></li> 71 71 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 76 76 <h2>Formatos Numéricos</h2> 77 77 <ul> 78 78 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 79 - <li><a href="/formats/fp/">Coma Flotante</a></li> 79 + <li><a href="/formats/fp/">Punto Flotante</a></li> 80 80 <li><a href="/formats/exact/">Tipos Exactos</a></li> 81 81 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 82 82 </ul> ··· 99 99 <li><a href="/languages/sql/">SQL</a></li> 100 100 </ul> 101 101 </div> 102 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 102 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 103 103 104 104 </body> 105 105 </html>
+6 -6
languages/perl/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - Floating-point cheat sheet for Perl</title> 5 + <title>La Guía del Punto Flotante - Floating-point cheat sheet for Perl</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 ··· 74 74 <li><a href="http://search.cpan.org/~flora/Math-BigInt-1.95/lib/Math/BigFloat.pm">Math::BigFloat extension</a></li> 75 75 </ul> 76 76 77 - <g:plusone href="http://comaflotante.org/"></g:plusone> 77 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 78 78 <div id="license"> 79 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 79 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 80 80 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 81 81 Original en inglés por Michael Borgwardt en 82 82 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 84 84 </div> 85 85 <div id="sidebar"> 86 86 <img src="/logo.png"> 87 - <h2>La Guía de la Coma Flotante</h2> 87 + <h2>La Guía del Punto Flotante</h2> 88 88 <ul> 89 89 <li><a href="/">Inicio</a></li> 90 90 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 95 95 <h2>Formatos Numéricos</h2> 96 96 <ul> 97 97 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 98 - <li><a href="/formats/fp/">Coma Flotante</a></li> 98 + <li><a href="/formats/fp/">Punto Flotante</a></li> 99 99 <li><a href="/formats/exact/">Tipos Exactos</a></li> 100 100 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 101 101 </ul> ··· 118 118 <li><a href="/languages/sql/">SQL</a></li> 119 119 </ul> 120 120 </div> 121 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 121 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 122 122 123 123 </body> 124 124 </html>
+6 -6
languages/php/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - Floating-point cheat sheet for PHP</title> 5 + <title>La Guía del Punto Flotante - Floating-point cheat sheet for PHP</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 ··· 47 47 </li> 48 48 </ul> 49 49 50 - <g:plusone href="http://comaflotante.org/"></g:plusone> 50 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 51 51 <div id="license"> 52 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 52 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 53 53 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 54 54 Original en inglés por Michael Borgwardt en 55 55 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 57 57 </div> 58 58 <div id="sidebar"> 59 59 <img src="/logo.png"> 60 - <h2>La Guía de la Coma Flotante</h2> 60 + <h2>La Guía del Punto Flotante</h2> 61 61 <ul> 62 62 <li><a href="/">Inicio</a></li> 63 63 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 68 68 <h2>Formatos Numéricos</h2> 69 69 <ul> 70 70 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 71 - <li><a href="/formats/fp/">Coma Flotante</a></li> 71 + <li><a href="/formats/fp/">Punto Flotante</a></li> 72 72 <li><a href="/formats/exact/">Tipos Exactos</a></li> 73 73 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 74 74 </ul> ··· 91 91 <li><a href="/languages/sql/">SQL</a></li> 92 92 </ul> 93 93 </div> 94 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 94 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 95 95 96 96 </body> 97 97 </html>
+6 -6
languages/python/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - Floating-point cheat sheet for Python</title> 5 + <title>La Guía del Punto Flotante - Floating-point cheat sheet for Python</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 ··· 59 59 <li><a href="http://docs.python.org/library/stdtypes.html#string-formatting-operations">String formatting in Python</a></li> 60 60 </ul> 61 61 62 - <g:plusone href="http://comaflotante.org/"></g:plusone> 62 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 63 63 <div id="license"> 64 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 64 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 65 65 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 66 66 Original en inglés por Michael Borgwardt en 67 67 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 69 69 </div> 70 70 <div id="sidebar"> 71 71 <img src="/logo.png"> 72 - <h2>La Guía de la Coma Flotante</h2> 72 + <h2>La Guía del Punto Flotante</h2> 73 73 <ul> 74 74 <li><a href="/">Inicio</a></li> 75 75 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 80 80 <h2>Formatos Numéricos</h2> 81 81 <ul> 82 82 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 83 - <li><a href="/formats/fp/">Coma Flotante</a></li> 83 + <li><a href="/formats/fp/">Punto Flotante</a></li> 84 84 <li><a href="/formats/exact/">Tipos Exactos</a></li> 85 85 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 86 86 </ul> ··· 103 103 <li><a href="/languages/sql/">SQL</a></li> 104 104 </ul> 105 105 </div> 106 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 106 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 107 107 108 108 </body> 109 109 </html>
+6 -6
languages/sql/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - Floating-point cheat sheet for SQL</title> 5 + <title>La Guía del Punto Flotante - Floating-point cheat sheet for SQL</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 ··· 51 51 <li><a href="http://msdn.microsoft.com/en-US/library/ms187752%28v=SQL.90%29.aspx">MS SQL Server data types</a></li> 52 52 </ul> 53 53 54 - <g:plusone href="http://comaflotante.org/"></g:plusone> 54 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 55 55 <div id="license"> 56 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 56 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 57 57 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 58 58 Original en inglés por Michael Borgwardt en 59 59 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 61 61 </div> 62 62 <div id="sidebar"> 63 63 <img src="/logo.png"> 64 - <h2>La Guía de la Coma Flotante</h2> 64 + <h2>La Guía del Punto Flotante</h2> 65 65 <ul> 66 66 <li><a href="/">Inicio</a></li> 67 67 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 72 72 <h2>Formatos Numéricos</h2> 73 73 <ul> 74 74 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 75 - <li><a href="/formats/fp/">Coma Flotante</a></li> 75 + <li><a href="/formats/fp/">Punto Flotante</a></li> 76 76 <li><a href="/formats/exact/">Tipos Exactos</a></li> 77 77 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 78 78 </ul> ··· 95 95 <li><a href="/languages/sql/">SQL</a></li> 96 96 </ul> 97 97 </div> 98 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 98 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 99 99 100 100 </body> 101 101 </html>
+7 -7
references/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - Referencias</title> 5 + <title>La Guía del Punto Flotante - Referencias</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 9 - <meta name="Description" content="Documentos con más información detallada sobre aritmética de coma flotante"> 9 + <meta name="Description" content="Documentos con más información detallada sobre aritmética de punto flotante"> 10 10 11 11 <link rel="stylesheet" type="text/css" href="/style.css" media="screen"> 12 12 <link rel="shortcut icon" href="/favicon.ico" type="image/vnd.microsoft.icon"> ··· 26 26 <li><a href="http://www.easysurf.cc/cnver17.htm">Herramienta para convertir números entre bases, incluyendo fracciones</a></li> 27 27 </ul> 28 28 29 - <g:plusone href="http://comaflotante.org/"></g:plusone> 29 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 30 30 <div id="license"> 31 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 31 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 32 32 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 33 33 Original en inglés por Michael Borgwardt en 34 34 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 36 36 </div> 37 37 <div id="sidebar"> 38 38 <img src="/logo.png"> 39 - <h2>La Guía de la Coma Flotante</h2> 39 + <h2>La Guía del Punto Flotante</h2> 40 40 <ul> 41 41 <li><a href="/">Inicio</a></li> 42 42 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 47 47 <h2>Formatos Numéricos</h2> 48 48 <ul> 49 49 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 50 - <li><a href="/formats/fp/">Coma Flotante</a></li> 50 + <li><a href="/formats/fp/">Punto Flotante</a></li> 51 51 <li><a href="/formats/exact/">Tipos Exactos</a></li> 52 52 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 53 53 </ul> ··· 70 70 <li><a href="/languages/sql/">SQL</a></li> 71 71 </ul> 72 72 </div> 73 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 73 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 74 74 75 75 </body> 76 76 </html>
+8 -1
style.css
··· 75 75 } 76 76 77 77 #main li { 78 - list-style-type: square; 79 78 80 79 font-size: 15px; 81 80 82 81 line-height: 20px; 82 + } 83 + 84 + #main ul li { 85 + list-style-type: square; 86 + } 87 + 88 + #main ol li { 89 + list-style-type: decimal; 83 90 } 84 91 85 92 #sidebar {
+8 -8
xkcd/index.html
··· 2 2 <html lang="es"> 3 3 <head> 4 4 <meta charset="utf-8"> 5 - <title>La Guía de la Coma Flotante - xkcd</title> 5 + <title>La Guía del Punto Flotante - xkcd</title> 6 6 7 7 <meta name="generator" content="nanoc 3.1.2"> 8 8 9 - <meta name="Description" content="Cómo fastidiar a la gente que ha aprendido a *esperar* errores de redondeo en aritmética de coma flotante."> 9 + <meta name="Description" content="Cómo fastidiar a la gente que ha aprendido a *esperar* errores de redondeo en aritmética de punto flotante"> 10 10 11 11 <link rel="stylesheet" type="text/css" href="/style.css" media="screen"> 12 12 <link rel="shortcut icon" href="/favicon.ico" type="image/vnd.microsoft.icon"> ··· 17 17 <h1>xkcd</h1> 18 18 <h2 id="o">o</h2> 19 19 20 - <h1 id="cmo-fastidiar-a-la-gente-que-ha-aprendido-a-esperar-errores-de-redondeo-en-aritmtica-de-coma-flotante">Cómo fastidiar a la gente que ha aprendido a <em>esperar</em> errores de redondeo en aritmética de coma flotante.</h1> 20 + <h1 id="cmo-fastidiar-a-la-gente-que-ha-aprendido-a-esperar-errores-de-redondeo-en-aritmtica-de-punto-flotante">Cómo fastidiar a la gente que ha aprendido a <em>esperar</em> errores de redondeo en aritmética de punto flotante</h1> 21 21 22 22 <p><img src="http://imgs.xkcd.com/comics/e_to_the_pi_minus_pi.png" alt="Viñeta obligatoria de xkcd" title="Viñeta obligatoria de xkcd" /></p> 23 23 24 24 <p>De <a href="http://www.xkcd.com/217/">xkcd</a></p> 25 25 26 - <g:plusone href="http://comaflotante.org/"></g:plusone> 26 + <g:plusone href="http://puntoflotante.org/"></g:plusone> 27 27 <div id="license"> 28 - <p>&copy; Publicado en <a href="http://comaflotante.org/">http://comaflotante.org/</a> bajo una licencia 28 + <p>&copy; Publicado en <a href="http://puntoflotante.org/">http://puntoflotante.org/</a> bajo una licencia 29 29 <a href="http://creativecommons.org/licenses/by/3.0/deed.es">Creative Commons Atribución Unported (BY)</a>. 30 30 Original en inglés por Michael Borgwardt en 31 31 <a href="http://floating-point-gui.de/">http://floating-point-gui.de/</a>.</p> ··· 33 33 </div> 34 34 <div id="sidebar"> 35 35 <img src="/logo.png"> 36 - <h2>La Guía de la Coma Flotante</h2> 36 + <h2>La Guía del Punto Flotante</h2> 37 37 <ul> 38 38 <li><a href="/">Inicio</a></li> 39 39 <li><a href="/basic/">Respuestas Básicas</a></li> ··· 44 44 <h2>Formatos Numéricos</h2> 45 45 <ul> 46 46 <li><a href="/formats/binary/">Fracciones Binarias</a></li> 47 - <li><a href="/formats/fp/">Coma Flotante</a></li> 47 + <li><a href="/formats/fp/">Punto Flotante</a></li> 48 48 <li><a href="/formats/exact/">Tipos Exactos</a></li> 49 49 <li><a href="/formats/integer/">Sobre Usar Enteros</a></li> 50 50 </ul> ··· 67 67 <li><a href="/languages/sql/">SQL</a></li> 68 68 </ul> 69 69 </div> 70 - <a href="http://github.com/Juanlu001/comaflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 70 + <a href="http://github.com/Juanlu001/puntoflotante.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a> 71 71 72 72 </body> 73 73 </html>