4#ifndef TETL_CSTDLIB_DIV_HPP
5#define TETL_CSTDLIB_DIV_HPP
7#include <etl/_cstdint/intmax_t.hpp>
Definition adjacent_find.hpp:9
constexpr auto div(int x, int y) noexcept -> div_t
Computes both the quotient and the remainder of the division of the numerator x by the denominator y....
Definition div.hpp:38
constexpr auto lldiv(long long x, long long y) noexcept -> lldiv_t
Computes both the quotient and the remainder of the division of the numerator x by the denominator y....
Definition div.hpp:82
constexpr auto div(long long x, long long y) noexcept -> lldiv_t
Computes both the quotient and the remainder of the division of the numerator x by the denominator y....
Definition div.hpp:60
constexpr auto imaxdiv(intmax_t x, intmax_t y) noexcept -> imaxdiv_t
Computes both the quotient and the remainder of the division of the numerator x by the denominator y....
Definition div.hpp:93
constexpr auto ldiv(long x, long y) noexcept -> ldiv_t
Computes both the quotient and the remainder of the division of the numerator x by the denominator y....
Definition div.hpp:71
constexpr auto div(long x, long y) noexcept -> ldiv_t
Computes both the quotient and the remainder of the division of the numerator x by the denominator y....
Definition div.hpp:49
Return type for div.
Definition div.hpp:12
int rem
Definition div.hpp:14
int quot
Definition div.hpp:13
Return type for imaxdiv.
Definition div.hpp:30
intmax_t rem
Definition div.hpp:32
intmax_t quot
Definition div.hpp:31
Return type for ldiv.
Definition div.hpp:18
long rem
Definition div.hpp:20
long quot
Definition div.hpp:19
Return type for lldiv.
Definition div.hpp:24
long long quot
Definition div.hpp:25
long long rem
Definition div.hpp:26