about summary refs log tree commit diff
path: root/sysdeps/i386/fpu/s_logb.S
blob: d1c71292480677f6e92b0c23c60ba2d27ef44013 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Public domain.
 */

#include <machine/asm.h>
#include <libm-alias-double.h>

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

ENTRY(__logb)
	fldl	4(%esp)
	fxtract
	fstp	%st
	ret
END (__logb)
libm_alias_double (__logb, logb)