The maths library is pure.

This commit is contained in:
David Given 2018-06-21 23:00:33 +02:00
parent f9c059812b
commit d9d7ffe0d7
26 changed files with 3 additions and 29 deletions

View file

@ -38,11 +38,11 @@ for _, plat in ipairs(vars.plats) do
"./pure/locale/*.c", "./pure/locale/*.c",
"./pure/setjmp/*.c", "./pure/setjmp/*.c",
"./pure/setjmp/*.e", "./pure/setjmp/*.e",
"./pure/math/*.c", -- hypot.c
"./pure/math/*.e",
"./ctype/*.c", "./ctype/*.c",
"./errno/*.c", "./errno/*.c",
"./malloc/*.c", "./malloc/*.c",
"./math/*.c", -- hypot.c
"./math/*.e",
"./misc/environ.c", -- don't build everything here as it's all obsolete "./misc/environ.c", -- don't build everything here as it's all obsolete
"./signal/*.c", "./signal/*.c",
"./assert/*.c", "./assert/*.c",
@ -56,7 +56,7 @@ for _, plat in ipairs(vars.plats) do
"lang/cem/libcc.ansi/headers+pkg", "lang/cem/libcc.ansi/headers+pkg",
"plat/"..plat.."/include+pkg", "plat/"..plat.."/include+pkg",
"./malloc/malloc.h", "./malloc/malloc.h",
"./math/localmath.h", "./pure/math/localmath.h",
"./stdio/loc_incl.h", "./stdio/loc_incl.h",
"./stdlib/ext_fmt.h", "./stdlib/ext_fmt.h",
"./time/loc_time.h", "./time/loc_time.h",

View file

@ -1,22 +0,0 @@
localmath.h
asin.c
atan2.c
atan.c
ceil.c
fabs.c
pow.c
log10.c
log.c
sin.c
sinh.c
sqrt.c
tan.c
tanh.c
exp.c
ldexp.c
fmod.c
floor.c
hugeval.c
frexp.e
modf.e
isnan.c

View file

@ -1,4 +0,0 @@
clean:
rm -f asin.o atan2.o atan.o ceil.o fabs.o pow.o log10.o \
log.o sin.o sinh.o sqrt.o tan.o tanh.o exp.o ldexp.o \
fmod.o floor.o hugeval.o frexp.o modf.o isnan.o OLIST