GY-63_MS5611/libraries/Fraction
2016-12-18 11:02:20 +01:00
..
examples + version 0.1.06 2015-03-01 12:47:02 +01:00
fraction.cpp + updated version to 0.1.07 2015-03-05 18:26:06 +01:00
fraction.h + updated version to 0.1.07 2015-03-05 18:26:06 +01:00
library.json update library.json files 2016-12-18 10:48:17 +01:00
library.properties initial versions of library.properties 2016-12-18 11:02:20 +01:00
readme.txt + added readme.txt 2015-03-01 14:19:14 +01:00

Fraction is an experimental fraction library for the Arduino.
The code is working with a number of limitations among others:
- denominator is max 4 digits to keep code for multiply and divide simple
- therefore not all fractions are exact
- the range of numbers supported is limited.

That said, the library is useful e.g. to display float numbers as a fraction.
From programming point of view the fractionize function, converting a double
into a fraction is a nice programming problem, fast with a minimal error.

In short, use fractions with care otherwise your sketch might get broken ;)