panthema / 2006 / SDIOS06 / sdios06 / lib / libc / sqrt.S (Download File)
# Taken from dietlibc...

.text

.global sqrtf,sqrt,sqrtl
	.type	 sqrtf,@function
	.type	 sqrt,@function
	.type	 sqrtl,@function
sqrtf:
	flds 4(%esp)
	fsqrt
	ret
sqrt:
	fldl 4(%esp)
	fsqrt
	ret
sqrtl:
	fldt 4(%esp)
	fsqrt
	ret

.ende:
.size    sqrt,.ende-sqrt
.size    sqrtf,.ende-sqrtf
.size    sqrtl,.ende-sqrtl
RSS 2.0 Weblog Feed Atom 1.0 Weblog Feed Valid XHTML 1.1 Valid CSS (2.1)
Copyright 2005-2014 Timo Bingmann - Impressum