math: Define iszero as a function template for C++ [BZ #20715]
commitb3918c44db615637b26d919ce599cd86592316b3
authorFlorian Weimer <fweimer@redhat.com>
Fri, 21 Oct 2016 16:26:53 +0000 (21 18:26 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 21 Oct 2016 16:26:53 +0000 (21 18:26 +0200)
tree23c031ee3aaf2e2fccce583920cafb40eacdce3f
parent0f04fc07f6a36e761ec76100043798ea5c7a590c
math: Define iszero as a function template for C++ [BZ #20715]

This increases compatibility with C++ code which is forced to
compile with _GNU_SOURCE.
ChangeLog
math/Makefile
math/math.h
math/test-math-iszero.cc [new file with mode: 0644]