softfloat.c (129203) | softfloat.c (230189) |
---|---|
1/* $NetBSD: softfloat.c,v 1.2 2003/07/26 19:24:52 salo Exp $ */ 2 3/* 4 * This version hacked for use with gcc -msoft-float by bjh21. 5 * (Mostly a case of #ifdefing out things GCC doesn't need or provides 6 * itself). 7 */ 8 --- 31 unchanged lines hidden (view full) --- 40(1) they include prominent notice that the work is derivative, and (2) they 41include prominent notice akin to these four paragraphs for those parts of 42this code that are retained. 43 44=============================================================================== 45*/ 46 47#include <sys/cdefs.h> | 1/* $NetBSD: softfloat.c,v 1.2 2003/07/26 19:24:52 salo Exp $ */ 2 3/* 4 * This version hacked for use with gcc -msoft-float by bjh21. 5 * (Mostly a case of #ifdefing out things GCC doesn't need or provides 6 * itself). 7 */ 8 --- 31 unchanged lines hidden (view full) --- 40(1) they include prominent notice that the work is derivative, and (2) they 41include prominent notice akin to these four paragraphs for those parts of 42this code that are retained. 43 44=============================================================================== 45*/ 46 47#include <sys/cdefs.h> |
48__FBSDID("$FreeBSD: head/lib/libc/softfloat/bits64/softfloat.c 129203 2004-05-14 12:13:06Z cognet $"); | 48__FBSDID("$FreeBSD: head/lib/libc/softfloat/bits64/softfloat.c 230189 2012-01-16 04:05:53Z das $"); |
49 50#ifdef SOFTFLOAT_FOR_GCC 51#include "softfloat-for-gcc.h" 52#endif 53 54#include "milieu.h" 55#include "softfloat.h" 56 --- 9 unchanged lines hidden (view full) --- 66#endif 67 68/* 69------------------------------------------------------------------------------- 70Floating-point rounding mode, extended double-precision rounding precision, 71and exception flags. 72------------------------------------------------------------------------------- 73*/ | 49 50#ifdef SOFTFLOAT_FOR_GCC 51#include "softfloat-for-gcc.h" 52#endif 53 54#include "milieu.h" 55#include "softfloat.h" 56 --- 9 unchanged lines hidden (view full) --- 66#endif 67 68/* 69------------------------------------------------------------------------------- 70Floating-point rounding mode, extended double-precision rounding precision, 71and exception flags. 72------------------------------------------------------------------------------- 73*/ |
74fp_rnd_t float_rounding_mode = float_round_nearest_even; 75fp_except float_exception_flags = 0; | 74int float_rounding_mode = float_round_nearest_even; 75int float_exception_flags = 0; |
76#ifdef FLOATX80 77int8 floatx80_rounding_precision = 80; 78#endif 79 80/* 81------------------------------------------------------------------------------- 82Primitive arithmetic functions, including multi-word arithmetic, and 83division and square root approximations. (Can be specialized to target if --- 5417 unchanged lines hidden --- | 76#ifdef FLOATX80 77int8 floatx80_rounding_precision = 80; 78#endif 79 80/* 81------------------------------------------------------------------------------- 82Primitive arithmetic functions, including multi-word arithmetic, and 83division and square root approximations. (Can be specialized to target if --- 5417 unchanged lines hidden --- |