mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-23 06:54:14 -04:00
f26e77ba40
* LINKER_FILES in makefile
* COLPOLY_GET_NORMAL
* math header
* libc
* M_PI for cosf and sinf files
* MAXFLOAT
* Revert "MAXFLOAT"
This reverts commit 96b75ffaa8.
* Remove SHT_MINV
* SHRT_MAX
* Add M_PI
* Angle macros
* f suffix
* Format
29 lines
459 B
C
29 lines
459 B
C
#ifndef LIBC_STDLIB_H
|
|
#define LIBC_STDLIB_H
|
|
|
|
#include "stddef.h"
|
|
|
|
typedef struct {
|
|
/* 0x0 */ int quot;
|
|
/* 0x4 */ int rem;
|
|
} div_t;
|
|
|
|
typedef struct {
|
|
/* 0x0 */ long quot;
|
|
/* 0x4 */ long rem;
|
|
} ldiv_t;
|
|
|
|
typedef struct {
|
|
/* 0x0 */ long long quot;
|
|
/* 0x8 */ long long rem;
|
|
} lldiv_t;
|
|
|
|
typedef int ssize_t;
|
|
|
|
typedef long wchar_t;
|
|
|
|
ldiv_t ldiv(long numer, long denom);
|
|
lldiv_t lldiv(long long numer, long long denom);
|
|
|
|
#endif /* STDLIB_H */
|