FCT
|
#include <Fraction.h>
Public 成员函数 | |
Fraction () noexcept | |
Fraction (int32_t num) noexcept | |
Fraction (int32_t num, int32_t den) noexcept | |
void | simplify () noexcept |
Fraction | operator* (const Fraction &other) const noexcept |
Fraction | operator/ (const Fraction &other) const noexcept |
bool | operator== (const Fraction &other) const noexcept |
bool | operator!= (const Fraction &other) const noexcept |
float | toFloat () const noexcept |
bool | isUnit () const noexcept |
Public 属性 | |
int32_t | numerator |
int32_t | denominator |
在文件 Fraction.h 第 11 行定义.
|
inlinenoexcept |
|
inlinenoexcept |
在文件 Fraction.h 第 16 行定义.
|
inlinenoexcept |
|
inlinenoexcept |
在文件 Fraction.h 第 55 行定义.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
int32_t FCT::Fraction::denominator |
在文件 Fraction.h 第 13 行定义.
int32_t FCT::Fraction::numerator |
在文件 Fraction.h 第 12 行定义.