aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/libm-i387/s_logb.S
blob: 92d8fee85c5f4971d4e797aed13eed555cab648e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Written by J.T. Conklin <jtc@netbsd.org>.
 * Public domain.
 */

#include <machine/asm.h>

RCSID("$NetBSD: s_logb.S,v 1.4 1995/05/09 00:14:30 jtc Exp $")

ENTRY(__logb)
	fldl	4(%esp)
	fxtract
	fstpl	%st
	ret
PSEUDO_END (__logb)
weak_alias (__logb, logb)