C++ Language/Std/CRuntime/Math/RationalNumbers

From Wikibooks, open books for an open world
< C++ Language‎ | Std‎ | CRuntime‎ | Math
Jump to navigation Jump to search

Just as 3 is a literal form of an integer, std::ratio<-4,3> is a literal form of a rational number.

Additional information about rational numbers (includes interactive examples)