diff options
author | Josh Blum | 2011-01-17 16:37:45 -0800 |
---|---|---|
committer | Josh Blum | 2011-01-17 16:37:45 -0800 |
commit | 48f9ca90e0cbcbfe67b0e10889c60928d9be5c49 (patch) | |
tree | f6102da8592c252808ab0940063f3b2ad9ef24a4 /gr-howto-write-a-block/config | |
parent | 31bbbec88b19230eb37b197d7623c3671e57837e (diff) | |
download | gnuradio-48f9ca90e0cbcbfe67b0e10889c60928d9be5c49.tar.gz gnuradio-48f9ca90e0cbcbfe67b0e10889c60928d9be5c49.tar.bz2 gnuradio-48f9ca90e0cbcbfe67b0e10889c60928d9be5c49.zip |
gr math simplification:
Replaces gr_gcd, gr_isnan, and gr_signbit one-time instances with boot math calls.
No point in wrapping these utility math functions into gnuradio when they are
1) provided by boost
2) only called once
Removes gr_math.cc, and configure checks for isnan.
Diffstat (limited to 'gr-howto-write-a-block/config')
-rw-r--r-- | gr-howto-write-a-block/config/lf_cxx.m4 | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gr-howto-write-a-block/config/lf_cxx.m4 b/gr-howto-write-a-block/config/lf_cxx.m4 index dfc6bfbfe..7cce5f8a4 100644 --- a/gr-howto-write-a-block/config/lf_cxx.m4 +++ b/gr-howto-write-a-block/config/lf_cxx.m4 @@ -46,22 +46,5 @@ AC_DEFUN([LF_CXX_PORTABILITY],[ dnl Check for common C++ portability problems dnl - dnl AC_LANG_PUSH - dnl AC_LANG_CPLUSPLUS - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - - - dnl Test whether C++ has std::isnan - AC_MSG_CHECKING(whether C++ has std::isnan) - AC_TRY_COMPILE([#include <cmath>], [ - std::isnan(0); -], [ AC_MSG_RESULT(yes) - AC_DEFINE(CXX_HAS_STD_ISNAN,[],[Define if has std::isnan]) ], - [ AC_MSG_RESULT(no) ]) - - dnl Done with the portability checks - dnl AC_LANG_POP([C++]) - AC_LANG_RESTORE ]) |