Hook up and document floorl().
This commit is contained in:
parent
17f418f9f4
commit
7e2ee1f065
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140143
@ -83,7 +83,7 @@ COMMON_SRCS= b_exp.c b_log.c b_tgamma.c \
|
||||
s_asinh.c s_asinhf.c s_atan.c s_atanf.c s_cbrt.c s_cbrtf.c s_ceil.c \
|
||||
s_ceilf.c s_copysign.c s_copysignf.c s_cos.c s_cosf.c s_erf.c s_erff.c \
|
||||
s_expm1.c s_expm1f.c s_fabsf.c s_fdim.c s_finite.c s_finitef.c \
|
||||
s_floor.c s_floorf.c s_fmax.c s_fmaxf.c s_fmaxl.c s_fmin.c \
|
||||
s_floor.c s_floorf.c s_floorl.c s_fmax.c s_fmaxf.c s_fmaxl.c s_fmin.c \
|
||||
s_fminf.c s_fminl.c s_frexp.c s_frexpf.c s_ilogb.c s_ilogbf.c \
|
||||
s_ilogbl.c s_isfinite.c s_isnan.c s_isnormal.c s_ldexpf.c \
|
||||
s_lib_version.c s_llrint.c s_llrintf.c s_llround.c s_llroundf.c \
|
||||
@ -161,7 +161,7 @@ MLINKS+=feclearexcept.3 fegetexceptflag.3 feclearexcept.3 feraiseexcept.3 \
|
||||
MLINKS+=fegetenv.3 feholdexcept.3 fegetenv.3 fesetenv.3 \
|
||||
fegetenv.3 feupdateenv.3
|
||||
MLINKS+=fegetround.3 fesetround.3
|
||||
MLINKS+=floor.3 floorf.3
|
||||
MLINKS+=floor.3 floorf.3 floor.3 floorl.3
|
||||
MLINKS+=fmax.3 fmaxf.3 fmax.3 fmaxl.3 \
|
||||
fmax.3 fmin.3 fmax.3 fminf.3 fmax.3 fminl.3
|
||||
MLINKS+=fmod.3 fmodf.3
|
||||
|
@ -37,7 +37,8 @@
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm floor ,
|
||||
.Nm floorf
|
||||
.Nm floorf ,
|
||||
.Nm floorl
|
||||
.Nd largest integral value less than or equal to x
|
||||
.Sh LIBRARY
|
||||
.Lb libm
|
||||
@ -47,11 +48,15 @@
|
||||
.Fn floor "double x"
|
||||
.Ft float
|
||||
.Fn floorf "float x"
|
||||
.Ft long double
|
||||
.Fn floorl "long double x"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn floor
|
||||
and the
|
||||
.Fn floor ,
|
||||
the
|
||||
.Fn floorf
|
||||
and the
|
||||
.Fn floorl
|
||||
functions return the largest integral value
|
||||
less than or equal to
|
||||
.Fa x ,
|
||||
@ -70,3 +75,9 @@ The
|
||||
.Fn floor
|
||||
function conforms to
|
||||
.St -isoC .
|
||||
The
|
||||
.Fn floorf
|
||||
and the
|
||||
.Fn floorl
|
||||
functions conform to
|
||||
.St -isoC-99 .
|
||||
|
Loading…
Reference in New Issue
Block a user