mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 05:18:44 +00:00
Bugfix for hwf
This commit is contained in:
parent
c577ab361b
commit
d5c39798ea
|
@ -17,16 +17,15 @@ Revision History:
|
|||
|
||||
--*/
|
||||
#include<float.h>
|
||||
#include<sstream>
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#pragma float_control( except, on ) // exception semantics; this does _not_ mean that exceptions are enabled (we want them off!)
|
||||
#pragma float_control( precise, on ) // precise semantics (no guessing!)
|
||||
#pragma fp_contract(off) // contractions off (`contraction' means x*y+z is turned into a fused-mul-add).
|
||||
#pragma fenv_access(on) // fpu environment sensitivity (needed to be allowed to make FPU mode changes).
|
||||
#include<amp_math.h>
|
||||
#else
|
||||
#ifdef _WINDOWS
|
||||
#pragma STDC FENV_ACCESS ON
|
||||
#endif
|
||||
#include <math.h>
|
||||
#include <fenv.h>
|
||||
#endif
|
||||
|
@ -35,8 +34,6 @@ Revision History:
|
|||
#define USE_INTRINSICS
|
||||
#endif
|
||||
|
||||
#include<sstream>
|
||||
|
||||
#include"hwf.h"
|
||||
|
||||
// Note:
|
||||
|
|
Loading…
Reference in a new issue