kolibrios-fun/programs/develop/ktcc/trunk/libc/math/sqrtf.asm
andrew_programmer 48ecbd9104 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
2008-01-14 19:33:34 +00:00

15 lines
116 B
NASM

format ELF
include 'proc32.inc'
section '.text' executable
public sqrtf
sqrtf:
fld dword[esp+4]
fsqrt
ret