2002-10-24 23:52:59 +04:00
|
|
|
#ifndef _DIV_T_H_
|
|
|
|
#define _DIV_T_H_
|
2002-10-26 02:02:50 +04:00
|
|
|
/*
|
|
|
|
** Distributed under the terms of the OpenBeOS License.
|
|
|
|
*/
|
2002-10-24 23:52:59 +04:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
int quot;
|
|
|
|
int rem;
|
|
|
|
} div_t;
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
long quot;
|
|
|
|
long rem;
|
|
|
|
} ldiv_t;
|
|
|
|
|
2002-10-26 02:02:50 +04:00
|
|
|
typedef struct {
|
|
|
|
long long quot;
|
|
|
|
long long rem;
|
|
|
|
} lldiv_t;
|
|
|
|
|
2002-10-24 23:52:59 +04:00
|
|
|
#endif /* _DIV_T_H_ */
|