Mercurial > gnulib
view modules/exp2 @ 40211:5f58d2ac35ea
unistr/u8-cmp: Fix undefined behaviour.
Reported by Jeffrey Walton <noloader@gmail.com>.
* lib/unistr/u8-cmp.c (u8_cmp): Don't invoke memcmp if n is zero.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 08 Mar 2019 20:38:22 +0100 |
parents | 1f14c6dd175d |
children |
line wrap: on
line source
Description: exp2() function: exponential base 2 function. Files: lib/exp2.c m4/exp2.m4 m4/mathfunc.m4 Depends-on: math extensions isnand [test $HAVE_EXP2 = 0 || test $REPLACE_EXP2 = 1] round [test $HAVE_EXP2 = 0 || test $REPLACE_EXP2 = 1] ldexp [test $HAVE_EXP2 = 0 || test $REPLACE_EXP2 = 1] configure.ac: gl_FUNC_EXP2 if test $HAVE_EXP2 = 0 || test $REPLACE_EXP2 = 1; then AC_LIBOBJ([exp2]) fi gl_MATH_MODULE_INDICATOR([exp2]) Makefile.am: Include: <math.h> Link: $(EXP2_LIBM) License: LGPL Maintainer: all