jrl-umi3218/jrl-mal — Issue #4: isnan portability
Author: aelkhour
Created: 2011-11-21 16:28:15+00:00
State: open

Hi,

I have pushed a new branch called topic/isnan-portability for the following reasons:

- std::isnan is not portable, which made it necessary to test OS version and call right function.
- I am a robotpkg user and a recent patch to jrl-mal defined isnan as std::isnan (for NetBSD compatibilty I think), which made other code that called std::isnan fail to compile.

Since boost is already a dependancy of jrl-mal, calling boost::math::isnan would make the code portable without any additionnal tests (I think).

I made a test file that calls isnan, but I only installed jrl-mal on ubuntu 10.04. Can anyone who has Windows or MAC OS try to install it and see if it works?

Thanks!
Antonio El Khoury