include/common.h
branchpyrit
changeset 86 ce6abe0aeeae
parent 83 e3a2a5b26abb
child 91 9d66d323c354
equal deleted inserted replaced
85:907a634e5c02 86:ce6abe0aeeae
    45 #else
    45 #else
    46 # define Float float
    46 # define Float float
    47 # define Eps 1e-6
    47 # define Eps 1e-6
    48 # define Inf FLT_MAX
    48 # define Inf FLT_MAX
    49 #endif
    49 #endif
       
    50 
       
    51 const __m128 mZero = _mm_set_ps1(0.);
       
    52 const __m128 mOne = _mm_set_ps1(1.);
       
    53 const __m128 mEps = _mm_set_ps1(Eps);
       
    54 const __m128 mMEps = _mm_set_ps1(-Eps);
       
    55 const __m128 mInf = _mm_set_ps1(Inf);
       
    56 const __m128 mAllSet = _mm_cmplt_ps(mZero, mOne);
    50 
    57 
    51 /* verbosity level:
    58 /* verbosity level:
    52 0: only errors (E)
    59 0: only errors (E)
    53 1: major status messages (*)
    60 1: major status messages (*)
    54 2: minor status, progress (-)
    61 2: minor status, progress (-)