Home
last modified time | relevance | path

Searched full:ceil (Results 1 – 25 of 212) sorted by relevance

123456789

/freebsd/contrib/bc/tests/bc/
H A Dlib2.txt28 ceil(0, 0)
29 ceil(0, 1)
30 ceil(0, 100)
31 ceil(1, 0)
32 ceil(1, 3)
33 ceil(1.4, 0)
34 ceil(1.5, 0)
35 ceil(34.45, 2)
36 ceil(64.1223, 4)
37 ceil(283.1983893, 6)
[all …]
/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_ceil.c46 * ceil(3)
51 atf_tc_set_md_var(tc, "descr", "A basic test of ceil(3)"); in ATF_TC_HEAD()
59 ATF_CHECK(fabs(ceil(x) - 1) < SMALL_NUM); in ATF_TC_BODY()
60 ATF_CHECK(fabs(ceil(y) - 1) < SMALL_NUM); in ATF_TC_BODY()
66 atf_tc_set_md_var(tc, "descr", "Test ceil(NaN) == NaN"); in ATF_TC_HEAD()
73 ATF_CHECK(isnan(ceil(x)) != 0); in ATF_TC_BODY()
79 atf_tc_set_md_var(tc, "descr", "Test ceil(-Inf) == -Inf"); in ATF_TC_HEAD()
85 double y = ceil(x); in ATF_TC_BODY()
88 atf_tc_fail_nonfatal("ceil(-Inf) != -Inf"); in ATF_TC_BODY()
94 atf_tc_set_md_var(tc, "descr", "Test ceil(+Inf) == +Inf"); in ATF_TC_HEAD()
[all …]
/freebsd/lib/msun/man/
H A Dceil.332 .Nm ceil ,
41 .Fn ceil "double x"
48 .Fn ceil ,
67 .Fn ceil
H A Dmath.3128 ceil integer no less than
147 .Fn ceil ,
H A Dround.357 .Xr ceil 3 ,
H A Dtrunc.361 .Xr ceil 3 ,
/freebsd/lib/msun/src/
H A Ds_ceil.c13 * ceil(x)
18 * Inexact flag raised if x not equal to ceil(x).
29 ceil(double x) in ceil() function
72 __weak_reference(ceil, ceill);
/freebsd/contrib/llvm-project/libcxx/include/__math/
H A Drounding_functions.h27 // ceil
29 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI float ceil(float __x) _NOEXCEPT { return __builtin_c… in ceil() function
32 _LIBCPP_NODISCARD _LIBCPP_HIDE_FROM_ABI double ceil(double __x) _NOEXCEPT { in ceil() function
36 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI long double ceil(long double __x) _NOEXCEPT { in ceil() function
41 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI double ceil(_A1 __x) _NOEXCEPT { in ceil() function
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp190 // ceil(ElementCount / VectorWidth) >= TripCount
266 // ceil(ElementCount/Width), or floor((ElementCount+Width-1)/Width) as we in IsSafeActiveMask()
300 // Ceil = ElementCount + (VW-1) / VW in IsSafeActiveMask()
301 auto *Ceil = SE->getUDivExpr(ECPlusVWMinus1, VW); in IsSafeActiveMask() local
312 dbgs() << "ARM TP: - (ElemCount+VW-1) / VW = " << *Ceil << "\n"; in IsSafeActiveMask()
322 // Ceil = ((3 + %N) /u 4) in IsSafeActiveMask()
324 // Check for equality of TC and Ceil by calculating SCEV expression in IsSafeActiveMask()
325 // TC - Ceil and test it for zero. in IsSafeActiveMask()
328 SE->getAddExpr(SE->getMulExpr(Ceil, VW), SE->getNegativeSCEV(VW), in IsSafeActiveMask()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Drandom.h73 get_random_u32_inclusive(uint32_t floor, uint32_t ceil) in get_random_u32_inclusive() argument
78 MPASS(ceil >= floor); in get_random_u32_inclusive()
81 t = ceil - floor + 1; in get_random_u32_inclusive()
/freebsd/sys/dev/qat/qat_api/common/compression/
H A Ddc_buffers.c83 * ceil(9 * Total input bytes / 8) + 55 bytes. in dcDeflateBoundGen2()
111 * ceil((9*sourceLen)/8) + 5 + 1024. */ in dcDeflateBoundGen4()
117 * Ceil ((9*sourceLen)/8)▒| + in dcDeflateBoundGen4()
/freebsd/lib/msun/i387/
H A Ds_ceil.S37 ENTRY(ceil)
56 END(ceil)
/freebsd/lib/libc/stdio/
H A Dfloatio.h42 * be ceil(log10(LDBL_MAX_10_EXP)) or, if hexadecimal floating point
43 * conversions are supported, ceil(log10(LDBL_MAX_EXP)). But since it
/freebsd/contrib/jemalloc/src/
H A Ddiv.c11 * floor(ceil(2^k / d) * n / 2^k) = floor((2^k + r) / d * n / 2^k), where
44 * We want magic = ceil(2^k / d), but C gives us floor. We have to in div_init()
/freebsd/crypto/libecc/src/sig/
H A Deckcdsa.c110 * where beta' = 8 * ceil(beta / 8)
178 *| bitstring h (w/ beta' = 8 * ceil(bitlen(q) / 8)), i.e.
184 *| bitstring r (w/ beta' = 8 * ceil(bitlen(q) / 8)), i.e.
364 * bitstring h (w/ beta' = 8 * ceil(bitlen(q) / 8)), i.e. in _eckcdsa_sign_finalize()
418 * bitstring r (w/ beta' = 8 * ceil(bitlen(q) / 8)), i.e. in _eckcdsa_sign_finalize()
521 *| beta' = 8 * ceil(bitlen(q) / 8)
526 *| bitstring h (w/ beta' = 8 * ceil(bitlen(q) / 8)), i.e.
532 *| bitstring r' (w/ beta' = 8 * ceil(bitlen(q) / 8)), i.e.
583 * beta' = 8 * ceil(bitlen(q) / 8) in _eckcdsa_verify_init()
751 * bitstring h (w/ beta' = 8 * ceil(bitlen(q) / 8)), i.e. in _eckcdsa_verify_finalize()
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dvacuum-cleaner16 # int32_t min_ceil; /* 4: 100 mm == 10 cm == min. ceil */
17 # int32_t max_ceil; /* 8: 10000 mm == 100 m == max. ceil */
/freebsd/sys/riscv/include/
H A Dfloat.h51 #define FLT_MIN_10_EXP (-37) /* ceil(log10(b**(emin-1))) */
57 #define FLT_DECIMAL_DIG 9 /* ceil(1+p*log10(b)) */
/freebsd/sys/arm64/include/
H A Dfloat.h55 #define FLT_MIN_10_EXP (-37) /* ceil(log10(b**(emin-1))) */
61 #define FLT_DECIMAL_DIG 9 /* ceil(1+p*log10(b)) */
/freebsd/sys/arm/include/
H A Dfloat.h57 #define FLT_MIN_10_EXP (-37) /* ceil(log10(b**(emin-1))) */
63 #define FLT_DECIMAL_DIG 9 /* ceil(1+p*log10(b)) */
/freebsd/sys/powerpc/include/
H A Dfloat.h58 #define FLT_MIN_10_EXP (-37) /* ceil(log10(b**(emin-1))) */
64 #define FLT_DECIMAL_DIG 9 /* ceil(1+p*log10(b)) */
/freebsd/sys/x86/include/
H A Dfloat.h57 #define FLT_MIN_10_EXP (-37) /* ceil(log10(b**(emin-1))) */
63 #define FLT_DECIMAL_DIG 9 /* ceil(1+p*log10(b)) */
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h47 __DEVICE__ double ceil(double);
48 __DEVICE__ float ceil(float);
209 using ::ceil;
/freebsd/contrib/wpa/src/crypto/
H A Daes-gcm.c203 * s = 128 * ceil(len(IV)/128) - len(IV) in aes_gcm_prepare_j0()
235 * u = 128 * ceil[len(C)/128] - len(C) in aes_gcm_ghash()
236 * v = 128 * ceil[len(A)/128] - len(A) in aes_gcm_ghash()
/freebsd/lib/libutil/
H A Dhumanize_number.c87 divisordeccut = 973; /* ceil(.95 * 1024) */ in humanize_number()
103 divisordeccut = 973; /* ceil(.95 * 1024) */ in humanize_number()
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/sparc64/
H A Ddivmod.m423 * be required. Equal to CEIL( lg2(quotient)/N )
28 * CEIL( lg2(quotient) / N ) x ( 10 + 7N/2 ) + C

123456789