None of the libm log and exp functions that are mentioned there have a 5x performance difference though, so it would certainly be interesting to hear what system this is.
On Wed, Feb 18, 2015 at 3:57 PM, Andreas Noack <[email protected] > wrote: > Maybe related https://github.com/JuliaLang/julia/issues/8869 > > 2015-02-18 15:41 GMT-05:00 Ivar Nesje <[email protected]>: > > Also log will throw a DomainErrror in Julia if you give it a negative >> argument. That is another check and might prevent some optimizations. >> >> onsdag 18. februar 2015 21.36.12 UTC+1 skrev Stefan Karpinski følgende: >>> >>> What system are you on? And what libm are you using? >>> >>> On Wed, Feb 18, 2015 at 3:31 PM, Stefan Karpinski <[email protected]> >>> wrote: >>> >>>> Depends on how fast your system libm is – and how accurate. There's a >>>> tradeoff. >>>> >>>> On Wed, Feb 18, 2015 at 3:07 PM, Rohan Fernando <[email protected]> >>>> wrote: >>>> >>>>> >>>>> >>>>> The log and exponential functions in Julia are about five times slower >>>>> than in C++. Is this reasonable? >>>>> >>>> >>>> >>> >
