2008-08-31 10:40:58 +00:00
|
|
|
/*
|
2012-07-19 18:11:40 +00:00
|
|
|
* Copyright 2002-2012 Haiku, Inc. All Rights Reserved.
|
2008-08-31 10:40:58 +00:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2002-10-24 19:52:59 +00:00
|
|
|
#ifndef _DIV_T_H_
|
|
|
|
#define _DIV_T_H_
|
|
|
|
|
2010-11-03 21:46:47 +00:00
|
|
|
|
2002-10-24 19:52:59 +00:00
|
|
|
typedef struct {
|
|
|
|
int quot;
|
|
|
|
int rem;
|
|
|
|
} div_t;
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
long quot;
|
|
|
|
long rem;
|
|
|
|
} ldiv_t;
|
|
|
|
|
2002-10-25 22:02:50 +00:00
|
|
|
typedef struct {
|
|
|
|
long long quot;
|
|
|
|
long long rem;
|
|
|
|
} lldiv_t;
|
|
|
|
|
2002-10-24 19:52:59 +00:00
|
|
|
#endif /* _DIV_T_H_ */
|