Patch level : 2.0 nopatch
Files correlati : gfm.dll Ricompilazione Demo : [ ] Commento : Migliorato arrotondamento numeri reali git-svn-id: svn://10.65.10.50/trunk@11722 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
10687dadf8
commit
98bee2b9ff
@ -35,7 +35,7 @@ void _DivUnsArrByUnsArr(c,a,m,b,n,rf)
|
||||
unsigned SHORT a[],c[],b[];
|
||||
int n,m,rf;
|
||||
{
|
||||
int i,j,k,nc,ft;
|
||||
int i,j,k,nc,ft = 0;
|
||||
unsigned long maxunsint,dvd,pqt,pp;
|
||||
float nqt;
|
||||
unsigned SHORT copa[10],copb[10],af[10],ppt[10],ppd[10],pqa[2];
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
extern double pow(double, double);
|
||||
|
||||
void _DoubleUnsArr(a,n)
|
||||
unsigned _DoubleUnsArr(a,n)
|
||||
unsigned SHORT a[];
|
||||
int n;
|
||||
{
|
||||
|
10
gfm/dround.c
10
gfm/dround.c
@ -54,7 +54,15 @@ int wID;
|
||||
_MacRet(GM_NULL);
|
||||
}
|
||||
|
||||
if(_MacIsDecZ(pSrc1)) {
|
||||
/* Added by Guy */
|
||||
if (wID >= pDst->dc.id)
|
||||
{
|
||||
if (pDst != pSrc1)
|
||||
_MacDCopy(pDst,pSrc1);
|
||||
_MacRet(pDst);
|
||||
}
|
||||
|
||||
if(_MacIsDecZ(pSrc1)) {
|
||||
_MacDZero(pDst);
|
||||
pDst->dc.id = wID;
|
||||
_MacRet(pDst);
|
||||
|
@ -88,7 +88,7 @@ unsigned GF_CDECL _DivUnsArrByUns( unsigned SHORT [], unsigned SHORT , int );
|
||||
void GF_CDECL _DivUnsArrByUnsArr( unsigned SHORT [], unsigned SHORT [], int ,
|
||||
unsigned SHORT [], int , int );
|
||||
void GF_CDECL _DivUnsArrByUnsRound( unsigned SHORT [], unsigned SHORT , int );
|
||||
void GF_CDECL _DoubleUnsArr( unsigned SHORT [], int );
|
||||
unsigned GF_CDECL _DoubleUnsArr( unsigned SHORT [], int );
|
||||
int _ExpDec80Bit( DEC *, DEC *);
|
||||
void GF_CDECL _HalveUnsArr( unsigned SHORT [], int );
|
||||
void GF_CDECL _IncrementUnsArr( unsigned SHORT [] );
|
||||
|
Loading…
x
Reference in New Issue
Block a user