mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-19 12:40:30 +00:00
oleaut32: Use the x87 assembly code for rounding on x86_64 too.
This commit is contained in:
parent
3681a28024
commit
2e5d1f192f
|
@ -3503,7 +3503,7 @@ HRESULT WINAPI VarCyFromR4(FLOAT fltIn, CY* pCyOut)
|
|||
*/
|
||||
HRESULT WINAPI VarCyFromR8(double dblIn, CY* pCyOut)
|
||||
{
|
||||
#if defined(__GNUC__) && defined(__i386__)
|
||||
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
|
||||
/* This code gives identical results to Win32 on Intel.
|
||||
* Here we use fp exceptions to catch overflows when storing the value.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue