Commit graph

10 commits

Author SHA1 Message Date
John Emmas
22e031135a Emulate 'log1p()' and 'expm1()' using 'log()' and 'exp()'
(for MSVC which didn't implement those functions until very recent versions).
2016-05-28 19:07:22 +01:00
John Emmas
dc1a2fbca7 MSVC won't compile 'const float _demolition[]' because it uses 'divide by zero' while initializing
Hopefully we can use INFINITY and NAN for the relevant initializers ?
2016-05-03 17:30:58 +01:00
John Emmas
8b5474b9e1 For MSVC builds, implement 'rint()' and 'rintf()' to supplement the ones that were already implemented 2015-04-24 19:11:10 +01:00
John Emmas
f598105966 Add support for the C99 function 'log2()' which is newly needed by 'gtk2_ardour/tempo_lines.cc' (but isn't available from MSVC).
These changes are MSVC specific and shouldn't affect the other builds.

(incidentally, libpbd already offers a function called 'fast_log2()'. Not sure if that could have been used instead...)
2015-01-10 11:56:24 +00:00
John Emmas
fa45202811 Change the function signature for 'abs(int64_t)' (Windows) so that it doesn't conflict with more recent versions of MSVC 2014-06-04 18:20:33 +01:00
John Emmas
8e51a6c84f Check in some minor modifications (to MSVC specific headers) 2014-01-13 10:22:31 +00:00
John Emmas
7d78172abf Miscellaneous additions to 'msvc_extra_headers' 2013-10-06 11:01:25 +01:00
John Emmas
9b6687ff3f Modify 'ardourext/misc.h' so that it only uses C++ constructs when the compilation is cplusplus 2013-08-27 17:10:46 +01:00
John Emmas
490311bc08 'libs/ardour' - Main body of changes required for building with MSVC 2013-08-04 15:36:07 +01:00
John Emmas
eeabf89d19 Miscellaneous header files (needed for building libpbd with MSVC) 2013-07-17 14:55:20 +01:00