forked from KolibriOS/kolibrios
Mathematical functions are added some.
It is added makefile for compilation of programs under KolibriOS with the help gcc. git-svn-id: svn://kolibrios.org@696 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
14
programs/develop/ktcc/trunk/libc/math/fabs.asm
Normal file
14
programs/develop/ktcc/trunk/libc/math/fabs.asm
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
format ELF
|
||||
include 'proc32.inc'
|
||||
section '.text' executable
|
||||
|
||||
public fabs_ as "fabs"
|
||||
|
||||
fabs_:
|
||||
|
||||
fld qword[esp+4]
|
||||
fabs
|
||||
|
||||
ret
|
||||
|
Reference in New Issue
Block a user