Re: Compiling OpenShadingLanguage under Windows
Oleg <ode...@...>
Hi Jeremy,
toggle quoted message
Show quoted text
Using boost math functions, some definitions in fmath.h and the following two implementations of my own inline float logbf(float val) { // please see http://www.kernel.org/doc/man-pages/online/pages/man3/logb.3.html return logf(val)/logf(FLT_RADIX); } inline float exp2f(float val) { // 2^val = e^(val*ln(2)) return exp( val*log(2.0f) ); } I was able to compile it under Windows. It's not the best solution, but probably better as nothing... It's time to test it :-) Regards, Oleg On 19 Jan., 19:08, Wormszer <wo...@...> wrote:
Thanks Larry, |
|