dosyago / floppsy

:baby_chick: floppsy - SMHasher-passing 200Mb/s hash using floating-point ops
https://88e9g.csb.app/
MIT License
12 stars 3 forks source link

MSVC needs _USE_MATH_DEFINES for cmath (CPP mode) #9

Closed rurban closed 4 years ago

rurban commented 4 years ago

See https://ci.appveyor.com/project/rurban/smhasher/builds/30205199/job/gl6asig6v8kwm4us#L141 floppsyhash.cpp(25): error C2065: 'M_PI': undeclared identifier

o0101 commented 4 years ago

Really appreciate this, @rurban! Merged.