Extract extended precision fraction correctly. Now gdtoa works properly

on m68k for extended precision numbers.
This commit is contained in:
mhitch 2007-02-22 17:11:15 +00:00
parent 132af634d7
commit 04f1eeb439
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ieee.h,v 1.14 2007/02/22 17:09:40 mhitch Exp $ */
/* $NetBSD: ieee.h,v 1.15 2007/02/22 17:11:15 mhitch Exp $ */
/*
* Copyright (c) 1992, 1993
@ -55,8 +55,8 @@
#define EXT_FRACBITS (EXT_FRACLBITS + EXT_FRACHBITS)
#define EXT_TO_ARRAY32(u, a) do { \
(a)[0] = (uint32_t)(u).extu_ext.ext_frach; \
(a)[1] = (uint32_t)(u).extu_ext.ext_fracl; \
(a)[0] = (uint32_t)(u).extu_ext.ext_fracl; \
(a)[1] = (uint32_t)(u).extu_ext.ext_frach; \
} while(/*CONSTCOND*/0)
struct ieee_ext {