Registry / utility / boost-ratio

boost-ratio

JSON →
library1.90.0vcpkgunverified

Boost ratio module.

vcpkg install boost-ratio
INSTALL
IMPORT
SIG · BOOST-RATIO
B
boost-ratio
utilitycppv1.90.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

boost/ratio.hpp
#include <boost/ratio.hpp>

Define and print a compile-time rational number

#include <boost/ratio.hpp> #include <iostream> int main() { using two_thirds = boost::ratio<2, 3>; std::cout << two_thirds::num << "/" << two_thirds::den << std::endl; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.90.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources

No resource links recorded.

boost-ratio — pip install boost-ratio · libregistry