libsigrok  unreleased development snapshot
sigrok hardware access and backend library
Data Fields
sr_rational Struct Reference

#include <libsigrok.h>

+ Collaboration diagram for sr_rational:

Data Fields

int64_t p
 Numerator of the rational number. More...
 
uint64_t q
 Denominator of the rational number. More...
 

Detailed Description

Definition at line 486 of file libsigrok.h.

Field Documentation

int64_t sr_rational::p

Numerator of the rational number.

Definition at line 488 of file libsigrok.h.

Referenced by sr_analog_to_float(), sr_parse_rational(), sr_rational_div(), sr_rational_eq(), sr_rational_mult(), and sr_rational_set().

uint64_t sr_rational::q

Denominator of the rational number.

Definition at line 490 of file libsigrok.h.

Referenced by sr_analog_to_float(), sr_parse_rational(), sr_rational_div(), sr_rational_eq(), sr_rational_mult(), and sr_rational_set().


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