leapc
Loading...
Searching...
No Matches
Data Fields
quo_mod Struct Reference

Quotient and remainder in integer space. More...

#include <quo_mod.h>

Data Fields

int quo
 Integer quotient.
 
int mod
 Integer modulus.
 

Detailed Description

Quotient and remainder in integer space.

Structure encapsulating the integer quotient and modulus. The structure is returned by the quo_mod() function.

This structure mirrors the standard C div_t structure returned by the div() function, but uses different member names.

See also
quo_mod()

Definition at line 22 of file quo_mod.h.

Field Documentation

◆ mod

int quo_mod::mod

Integer modulus.

Definition at line 30 of file quo_mod.h.

◆ quo

int quo_mod::quo

Integer quotient.

Definition at line 26 of file quo_mod.h.


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