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.

Issue #15 - Call language sections "cheat sheets"

+10 -10
+1 -1
content/formats/exact.html
··· 6 6 While [binary](/formats/binary/) [floating-point](/formats/fp/) numbers are better for computers to work with, and usually good enough for humans, sometimes they are just not appropriate. Sometimes, the numbers really must add up to the last bit, and no technical excuses are acceptable - usually when the calculations involve money. 7 7 8 8 Unfortunately, there is no dominating standard like IEEE 754 for this (The 2008 version of the standard added decimal types, which is too recent to have seen widespread adoption). 9 - Each language or platform has its own solution, sometimes multiple different ones. For details, look at the "Languages" section. 9 + Each language or platform has its own solution, sometimes multiple different ones. For details, look at the language cheat sheets. 10 10 11 11 There are at least three fundamentally different kinds of such types: 12 12
+2 -2
content/languages/csharp.html
··· 1 1 --- 2 - title: How to deal with floating-point numbers in C# 3 - description: Tips for using floating-point numbers in C# 2 + title: Floating-point cheat sheet for C# 3 + description: Tips for using floating-point and decimal numbers in C# 4 4 --- 5 5 6 6 Floating-Point Types
+2 -2
content/languages/java.html
··· 1 1 --- 2 - title: How to deal with floating-point numbers in Java 3 - description: Tips for using floating-point numbers in Java 2 + title: Floating-point cheat sheet for Java 3 + description: Tips for using floating-point and decimal numbers in Java 4 4 --- 5 5 6 6 Floating-Point Types
+2 -2
content/languages/javascript.html
··· 1 1 --- 2 - title: How to deal with floating-point numbers in JavaScript 3 - description: Tips for using floating-point numbers in JavaScript 2 + title: Floating-point cheat sheet for JavaScript 3 + description: Tips for using floating-point and decimal numbers in JavaScript 4 4 --- 5 5 6 6 Floating-Point Types
+2 -2
content/languages/php.html
··· 1 1 --- 2 - title: How to deal with floating-point numbers in PHP 3 - description: Tips for using floating-point numbers in PHP 2 + title: Floating-point cheat sheet for PHP 3 + description: Tips for using floating-point and decimal numbers in PHP 4 4 --- 5 5 6 6 Floating-Point Types
+1 -1
layouts/default.html
··· 48 48 <li><a href="/errors/propagation/">Propagation</a></li> 49 49 </ul> 50 50 51 - <h2>Languages</h2> 51 + <h2>Language<br>cheat sheets</h2> 52 52 <ul> 53 53 <li><a href="/languages/csharp/">C#</a></li> 54 54 <li><a href="/languages/java/">Java</a></li>