std::div_t
Description
Structure type, return of the std::div
function
Declarations
struct div_t { int quot; int rem; };
or
struct div_t { int rem; int quot; };
Examples
#include <float.h>
#include <math.h>
#include <stdio.h>
int main(void)
{
printf("%d\n", FLT_EVAL_METHOD);
printf("%zu %zu\n", sizeof(float),sizeof(float_t));
printf("%zu %zu\n", sizeof(double),sizeof(double_t));
return 0;
}
Possible Result
0
4 4
8 8