1 1.2 he /* $NetBSD: negxf2.c,v 1.2 2004/09/27 10:16:24 he Exp $ */ 2 1.1 jmmv 3 1.1 jmmv /* 4 1.1 jmmv * Written by Ben Harris, 2000. This file is in the Public Domain. 5 1.1 jmmv */ 6 1.1 jmmv 7 1.1 jmmv #include "softfloat-for-gcc.h" 8 1.1 jmmv #include "milieu.h" 9 1.1 jmmv #include "softfloat.h" 10 1.1 jmmv 11 1.1 jmmv #include <sys/cdefs.h> 12 1.1 jmmv #if defined(LIBC_SCCS) && !defined(lint) 13 1.2 he __RCSID("$NetBSD: negxf2.c,v 1.2 2004/09/27 10:16:24 he Exp $"); 14 1.1 jmmv #endif /* LIBC_SCCS and not lint */ 15 1.1 jmmv 16 1.2 he #ifdef FLOATX80 17 1.2 he 18 1.1 jmmv floatx80 __negxf2(floatx80); 19 1.1 jmmv 20 1.1 jmmv floatx80 21 1.1 jmmv __negxf2(floatx80 a) 22 1.1 jmmv { 23 1.1 jmmv 24 1.1 jmmv /* libgcc1.c says -a */ 25 1.1 jmmv return __mulxf3(a,__floatsixf(-1)); 26 1.1 jmmv } 27 1.2 he #endif /* FLOATX80 */ 28