Re: OLEAUT32: multiplication/division support for DECIMAL (patch 1 of 4)
26 Oct
2005
26 Oct
'05
3:26 p.m.
Alex Villacís Lasso <a_villacis(a)palosanto.com> writes:
+ /* this one shows that native oleaut32 is willing to lose significant digits in order to avert an overflow */ + SETDEC(l,2,0,0,0xFFFFFFFFFFFFFFFFULL); SETDEC(r,0,0,0,40000000001ULL); MATH2(VarDecMul);EXPECTDEC(1,0,0xee6b2800,0x19999998ab2e719aULL);
You should not use long long constants, that's not portable. Use SETDEC64 and EXPECTDEC64 instead. -- Alexandre Julliard julliard(a)winehq.org
7355
Age (days ago)
7355
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard