gdtoaimp.h (187808) | gdtoaimp.h (196916) |
---|---|
1/**************************************************************** 2 3The author of this software is David M. Gay. 4 5Copyright (C) 1998-2000 by Lucent Technologies 6All Rights Reserved 7 8Permission to use, copy, modify, and distribute this software and --- 12 unchanged lines hidden (view full) --- 21SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 22WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER 23IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 24ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF 25THIS SOFTWARE. 26 27****************************************************************/ 28 | 1/**************************************************************** 2 3The author of this software is David M. Gay. 4 5Copyright (C) 1998-2000 by Lucent Technologies 6All Rights Reserved 7 8Permission to use, copy, modify, and distribute this software and --- 12 unchanged lines hidden (view full) --- 21SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 22WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER 23IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 24ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF 25THIS SOFTWARE. 26 27****************************************************************/ 28 |
29/* $FreeBSD: head/contrib/gdtoa/gdtoaimp.h 187808 2009-01-28 04:36:34Z das $ */ | 29/* $FreeBSD: head/contrib/gdtoa/gdtoaimp.h 196916 2009-09-07 09:30:37Z attilio $ */ |
30 31/* This is a variation on dtoa.c that converts arbitary binary 32 floating-point formats to and from decimal notation. It uses 33 double-precision arithmetic internally, so there are still 34 various #ifdefs that adapt the calculations to the native 35 double-precision arithmetic (any of IEEE, VAX D_floating, 36 or IBM mainframe arithmetic). 37 --- 442 unchanged lines hidden (view full) --- 480 if (__isthreaded) \ 481 _pthread_mutex_lock(&__gdtoa_locks[n]); \ 482} while(0) 483#define FREE_DTOA_LOCK(n) do { \ 484 if (__isthreaded) \ 485 _pthread_mutex_unlock(&__gdtoa_locks[n]); \ 486} while(0) 487 | 30 31/* This is a variation on dtoa.c that converts arbitary binary 32 floating-point formats to and from decimal notation. It uses 33 double-precision arithmetic internally, so there are still 34 various #ifdefs that adapt the calculations to the native 35 double-precision arithmetic (any of IEEE, VAX D_floating, 36 or IBM mainframe arithmetic). 37 --- 442 unchanged lines hidden (view full) --- 480 if (__isthreaded) \ 481 _pthread_mutex_lock(&__gdtoa_locks[n]); \ 482} while(0) 483#define FREE_DTOA_LOCK(n) do { \ 484 if (__isthreaded) \ 485 _pthread_mutex_unlock(&__gdtoa_locks[n]); \ 486} while(0) 487 |
488#define Kmax 15 | 488#define Kmax 9 |
489 490 struct 491Bigint { 492 struct Bigint *next; 493 int k, maxwds, sign, wds; 494 ULong x[1]; 495 }; 496 --- 215 unchanged lines hidden --- | 489 490 struct 491Bigint { 492 struct Bigint *next; 493 int k, maxwds, sign, wds; 494 ULong x[1]; 495 }; 496 --- 215 unchanged lines hidden --- |