2008-08-31 14:40:58 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2002-2005, Haiku Inc. All Rights Reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2002-10-24 23:52:59 +04:00
|
|
|
#ifndef _DIV_T_H_
|
|
|
|
#define _DIV_T_H_
|
|
|
|
|
|
|
|
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_ */
|