<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">This is also the kind of thing the configure script can check for :)<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 21, 2017, at 10:39 PM, Miller Puckette <<a href="mailto:msp@ucsd.edu" class="">msp@ucsd.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">OK, will try that for next release :)<br class=""><br class="">Anyhow, I have to profile MSVC against mingw and (hopefully) move the<br class="">whole compile chain over.  But certainly not now.<br class=""><br class="">Miller<br class=""><br class="">On Fri, Jul 21, 2017 at 10:30:26PM +0200, Dan Wilcox wrote:<br class=""><blockquote type="cite" class="">Looks like the preprocessor define is _MSC_VER: <a href="https://stackoverflow.com/questions/70013/how-to-detect-if-im-compiling-code-with-visual-studio-2008" class="">https://stackoverflow.com/questions/70013/how-to-detect-if-im-compiling-code-with-visual-studio-2008</a> <<a href="https://stackoverflow.com/questions/70013/how-to-detect-if-im-compiling-code-with-visual-studio-2008" class="">https://stackoverflow.com/questions/70013/how-to-detect-if-im-compiling-code-with-visual-studio-2008</a>><br class=""><br class="">So something like the following could probably work:<br class=""><br class="">#ifdef _WIN32<br class="">  #if (_MSC_VER < 17000)<br class="">    #define ATANH_NOT_AVAILABLE<br class="">  #endif<br class="">#endif<br class="">#include <math.h><br class=""><br class=""><blockquote type="cite" class="">On Jul 21, 2017, at 10:21 PM, Dan Wilcox <<a href="mailto:danomatika@gmail.com" class="">danomatika@gmail.com</a>> wrote:<br class=""><br class="">It's most probably working because you are compiling on a newer system with a newer Visual Studio which has the newer math.h which has the function.<br class=""><br class="">Older versions pre-2012 do not, hence the current non-usage.<br class=""><br class=""><blockquote type="cite" class="">On Jul 21, 2017, at 9:55 PM, Alexandre Torres Porres <<a href="mailto:porres@gmail.com" class="">porres@gmail.com</a> <<a href="mailto:porres@gmail.com" class="">mailto:porres@gmail.com</a>>> wrote:<br class=""><br class=""><br class=""><br class="">2017-07-21 16:44 GMT-03:00 Dan Wilcox <<a href="mailto:danomatika@gmail.com" class="">danomatika@gmail.com</a> <<a href="mailto:danomatika@gmail.com" class="">mailto:danomatika@gmail.com</a>>>:<br class="">Those functions are in the windows math.h if you're using Visual Studio 2012 or greater.<br class=""><br class="">Hey, I just realized we have an [atanh] object for cyclone, I actually did that one myself, and I just tested, it's working on windows!<br class=""><br class="">here's the source <a href="https://github.com/porres/pd-cyclone/blob/master/cyclone_src/binaries/control/atanh.c" class="">https://github.com/porres/pd-cyclone/blob/master/cyclone_src/binaries/control/atanh.c</a> <<a href="https://github.com/porres/pd-cyclone/blob/master/cyclone_src/binaries/control/atanh.c" class="">https://github.com/porres/pd-cyclone/blob/master/cyclone_src/binaries/control/atanh.c</a>><br class=""><br class="">so, definitely, those functions may exist for windows, not sure what building system you're using, but it may need an update<br class=""></blockquote><br class="">--------<br class="">Dan Wilcox<br class="">@danomatika <<a href="http://twitter.com/danomatika" class="">http://twitter.com/danomatika</a>><br class=""><a href="http://danomatika.com" class="">danomatika.com</a> <<a href="http://danomatika.com/" class="">http://danomatika.com/</a>><br class=""><a href="http://robotcowboy.com" class="">robotcowboy.com</a> <<a href="http://robotcowboy.com/" class="">http://robotcowboy.com/</a>><br class=""><br class=""><br class=""><br class=""></blockquote><br class="">--------<br class="">Dan Wilcox<br class="">@danomatika <<a href="http://twitter.com/danomatika" class="">http://twitter.com/danomatika</a>><br class=""><a href="http://danomatika.com" class="">danomatika.com</a> <<a href="http://danomatika.com/" class="">http://danomatika.com/</a>><br class=""><a href="http://robotcowboy.com" class="">robotcowboy.com</a> <<a href="http://robotcowboy.com/" class="">http://robotcowboy.com/</a>><br class=""><br class=""><br class=""><br class=""></blockquote></div></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">--------</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Dan Wilcox</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://twitter.com/danomatika" class="">@danomatika</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://danomatika.com" class="">danomatika.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://robotcowboy.com" class="">robotcowboy.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>