/* $OpenBSD: s_logb.S,v 1.3 2016/09/12 19:47:01 guenther Exp $ */ /* * Written by J.T. Conklin . * Public domain. */ #include #include "abi.h" ENTRY(logb) XMM_ONE_ARG_DOUBLE_PROLOGUE fldl ARG_DOUBLE_ONE fxtract fstp %st XMM_DOUBLE_EPILOGUE ret END_STD(logb)