API Reference Manual  1.45.0
odp_fract_u64_t Struct Reference

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...
 

Detailed Description

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.

Examples
odp_timer_accuracy.c.

Definition at line 83 of file api/spec/std_types.h.

Field Documentation

◆ denom

uint64_t odp_fract_u64_t::denom

Denominator of the fraction part.

This may be zero when the numerator is zero.

Examples
odp_sysinfo.c, and odp_timer_accuracy.c.

Definition at line 92 of file api/spec/std_types.h.


The documentation for this struct was generated from the following file: