API Reference Manual
1.46.0
|
Unsigned 64 bit fractional number. More...
#include <std_types.h>
Data Fields | |
uint64_t | integer |
Integer part. | |
uint64_t | numer |
Numerator of the fraction part. | |
uint64_t | denom |
Denominator of the fraction part. More... | |
Unsigned 64 bit fractional number.
The number is composed of integer and fraction parts. The fraction part is composed of two terms: numerator and denominator. Value of the number is sum of the integer and fraction parts: value = integer + numer/denom. When the fraction part is zero, the numerator is zero and the denominator may be zero.
Definition at line 91 of file api/spec/std_types.h.
uint64_t odp_fract_u64_t::denom |
Denominator of the fraction part.
This may be zero when the numerator is zero.
Definition at line 100 of file api/spec/std_types.h.