Subversion Repositories Kolibri OS

Compare Revisions

No changes between revisions

Regard whitespace Rev 9771 → Rev 9772

/programs/develop/ktcc/trunk/libc.obj/include/math.h
20,9 → 20,11
extern double _FUNC(frexp)(double _x, int* _pexp);
extern double _FUNC(ldexp)(double _x, int _exp);
extern double _FUNC(log)(double _y);
extern double _FUNC(log2)(double _x);
extern double _FUNC(log10)(double _x);
extern double _FUNC(modf)(double _x, double* _pint);
extern double _FUNC(pow)(double _x, double _y);
extern double _FUNC(round)(double _x);
extern double _FUNC(sin)(double _x);
extern double _FUNC(sinh)(double _x);
extern double _FUNC(sqrt)(double _x);
/programs/develop/ktcc/trunk/libc.obj/source/libc.c
131,11 → 131,14
".include \"math/floor.s\"\n\t"
".include \"math/fmod.s\"\n\t"
".include \"math/log.s\"\n\t"
".include \"math/log2.s\"\n\t"
".include \"math/log10.s\"\n\t"
".include \"math/modf.s\"\n\t"
".include \"math/modfl.s\"\n\t"
".include \"math/pow.s\"\n\t"
".include \"math/pow2.s\"\n\t"
".include \"math/pow10.s\"\n\t"
".include \"math/round.s\"\n\t"
".include \"math/sqrt.s\"\n\t"
".include \"math/sin.s\"\n\t"
".include \"math/tan.s\"\n\t");
258,7 → 261,6
{ "acosh", &acosh },
{ "asinh", &asinh },
{ "atanh", &atanh },
{ "acosh", &acosh },
{ "frexp", &frexp },
{ "hypot", &hypot },
{ "ldexp", &ldexp },
279,6 → 281,9
{ "floor", &floor },
{ "fmod", &fmod },
{ "log", &log },
{ "log2", &log2 },
{ "log10", &log10 },
{ "round", &round },
{ "modf", &modf },
{ "modfl", &modfl },
{ "pow", &pow },
/programs/develop/ktcc/trunk/libc.obj/source/math/log10.s
0,0 → 1,9
.global log10;
 
log10:
fld1
fldl 4(%esp)
fyl2x
fldl2t
fdivp
ret
Property changes:
Added: svn:executable
+*
\ No newline at end of property
/programs/develop/ktcc/trunk/libc.obj/source/math/log2.s
0,0 → 1,7
.global log2;
 
log2:
fld1
fldl 4(%esp)
fyl2x
ret
Property changes:
Added: svn:executable
+*
\ No newline at end of property
/programs/develop/ktcc/trunk/libc.obj/source/math/round.s
0,0 → 1,7
.global round;
 
round:
fldl 4(%esp)
fistp 4(%esp)
fild 4(%esp)
ret
Property changes:
Added: svn:executable
+*
\ No newline at end of property