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