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

< C++ Language‎ | Std‎ | CRuntime‎ | Math

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)