MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
temperature.hpp File Reference
#include "mtcore/units/base.hpp"
#include "temperature.hpp"
Include dependency graph for temperature.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mtcore
 Core library for C++ with Zig-related functionality.
 
namespace  mtcore::units
 Base namespace for units.
 
namespace  mtcore::units::temperature
 

Variables

constexpr auto mtcore::units::temperature::kelvin = Units<Unit<dimensions::TEMPERATURE>>{}
 
constexpr auto mtcore::units::temperature::celsius = Units<Unit<dimensions::TEMPERATURE, std::ratio<1>, 0, std::ratio<5463, 20>>>{}
 
constexpr auto mtcore::units::temperature::fahrenheit = Units<Unit<dimensions::TEMPERATURE, std::ratio<5, 9>, 0, std::ratio<45967, 100>>>{}