view modules/round @ 40244:c39a0edd90d7

fts: minor simplification * lib/fts.c (fts_safe_changedir): Remove redundant assignment.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 17 Mar 2019 12:39:50 -0700
parents fce13a4b73aa
children
line wrap: on
line source

Description:
round() function: round toward nearest, breaking ties away from zero.

Files:
lib/round.c
m4/check-math-lib.m4
m4/round.m4
m4/floor.m4
m4/ceil.m4

Depends-on:
math
extensions
float           [test $HAVE_ROUND = 0 || test $REPLACE_ROUND = 1]
floor           [test $HAVE_ROUND = 0 || test $REPLACE_ROUND = 1]

configure.ac:
gl_FUNC_ROUND
if test $HAVE_ROUND = 0 || test $REPLACE_ROUND = 1; then
  AC_LIBOBJ([round])
fi
gl_MATH_MODULE_INDICATOR([round])

Makefile.am:

Include:
<math.h>

Link:
$(ROUND_LIBM)

License:
LGPL

Maintainer:
Ben Pfaff