Crea sito

Posts Tagged "ANSI C"

Let’s start programming posts collection, with an important but very easy topic: Machine Epsilon (or Machine Zero, or Machine Precision).It represents the smallest floating point value belonging to F (set of floating point values), different in absolute value from 0. The algorithm to get this value consists of the following steps: init a floating point variable u1=1 until 1+u1 is different from 1 divide u1 by 2 check if 1+u1 is...

Read More