|Subject:||[Bug-teseq] teseq-1.1.1 bug report|
|Date:||Tue, 19 Apr 2022 18:57:12 +0000|
I just compiled the teseq package with new C compiler clang-14.
src/teseq.c:626:10: warning: floating-point comparison is always false; constant cannot be represented exactly in ty
pe 'float' [-Wliteral-range]
Source code is
if (id == 8.1)
Floating point compare is notoriously unreliable. Suggest use some other data types.
There are multiple duplicates of this warning message for the same function.
|[Prev in Thread]||Current Thread||[Next in Thread]|