<div dir="ltr">hey, I thought atanh() wouldn't make into expr right now, but it did with test 5 ;) - great. I have to update the expr patch, cause I said there it wouldn't load for windows yet. I'll do another Pull Request soon.<div><br></div><div>cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-21 17:39 GMT-03:00 Miller Puckette <span dir="ltr"><<a href="mailto:msp@ucsd.edu" target="_blank">msp@ucsd.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">OK, will try that for next release :)<br>
<br>
Anyhow, I have to profile MSVC against mingw and (hopefully) move the<br>
whole compile chain over.  But certainly not now.<br>
<br>
Miller<br>
<br>
On Fri, Jul 21, 2017 at 10:30:26PM +0200, Dan Wilcox wrote:<br>
> 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" rel="noreferrer" target="_blank">https://stackoverflow.com/<wbr>questions/70013/how-to-detect-<wbr>if-im-compiling-code-with-<wbr>visual-studio-2008</a> <<a href="https://stackoverflow.com/questions/70013/how-to-detect-if-im-compiling-code-with-visual-studio-2008" rel="noreferrer" target="_blank">https://stackoverflow.com/<wbr>questions/70013/how-to-detect-<wbr>if-im-compiling-code-with-<wbr>visual-studio-2008</a>><br>
<span class="">><br>
> So something like the following could probably work:<br>
><br>
> #ifdef _WIN32<br>
>   #if (_MSC_VER < 17000)<br>
>     #define ATANH_NOT_AVAILABLE<br>
>   #endif<br>
> #endif<br>
> #include <math.h><br>
><br>
> > On Jul 21, 2017, at 10:21 PM, Dan Wilcox <<a href="mailto:danomatika@gmail.com">danomatika@gmail.com</a>> wrote:<br>
> ><br>
> > 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>
> ><br>
> > Older versions pre-2012 do not, hence the current non-usage.<br>
> ><br>
</span>> >> On Jul 21, 2017, at 9:55 PM, Alexandre Torres Porres <<a href="mailto:porres@gmail.com">porres@gmail.com</a> <mailto:<a href="mailto:porres@gmail.com">porres@gmail.com</a>>> wrote:<br>
> >><br>
> >><br>
> >><br>
> >> 2017-07-21 16:44 GMT-03:00 Dan Wilcox <<a href="mailto:danomatika@gmail.com">danomatika@gmail.com</a> <mailto:<a href="mailto:danomatika@gmail.com">danomatika@gmail.com</a>>><wbr>:<br>
<span class="">> >> Those functions are in the windows math.h if you're using Visual Studio 2012 or greater.<br>
> >><br>
> >> 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>
> >><br>
</span>> >> here's the source <a href="https://github.com/porres/pd-cyclone/blob/master/cyclone_src/binaries/control/atanh.c" rel="noreferrer" target="_blank">https://github.com/porres/pd-<wbr>cyclone/blob/master/cyclone_<wbr>src/binaries/control/atanh.c</a> <<a href="https://github.com/porres/pd-cyclone/blob/master/cyclone_src/binaries/control/atanh.c" rel="noreferrer" target="_blank">https://github.com/porres/pd-<wbr>cyclone/blob/master/cyclone_<wbr>src/binaries/control/atanh.c</a>><br>
<span class="im HOEnZb">> >><br>
> >> so, definitely, those functions may exist for windows, not sure what building system you're using, but it may need an update<br>
> ><br>
> > --------<br>
> > Dan Wilcox<br>
</span><div class="HOEnZb"><div class="h5">> > @danomatika <<a href="http://twitter.com/danomatika" rel="noreferrer" target="_blank">http://twitter.com/danomatika</a><wbr>><br>
> > <a href="http://danomatika.com" rel="noreferrer" target="_blank">danomatika.com</a> <<a href="http://danomatika.com/" rel="noreferrer" target="_blank">http://danomatika.com/</a>><br>
> > <a href="http://robotcowboy.com" rel="noreferrer" target="_blank">robotcowboy.com</a> <<a href="http://robotcowboy.com/" rel="noreferrer" target="_blank">http://robotcowboy.com/</a>><br>
> ><br>
> ><br>
> ><br>
><br>
> --------<br>
> Dan Wilcox<br>
> @danomatika <<a href="http://twitter.com/danomatika" rel="noreferrer" target="_blank">http://twitter.com/danomatika</a><wbr>><br>
> <a href="http://danomatika.com" rel="noreferrer" target="_blank">danomatika.com</a> <<a href="http://danomatika.com/" rel="noreferrer" target="_blank">http://danomatika.com/</a>><br>
> <a href="http://robotcowboy.com" rel="noreferrer" target="_blank">robotcowboy.com</a> <<a href="http://robotcowboy.com/" rel="noreferrer" target="_blank">http://robotcowboy.com/</a>><br>
><br>
><br>
><br>
</div></div></blockquote></div><br></div>