Home
last modified time | relevance | path

Searched refs:log2 (Results 1 – 25 of 144) sorted by relevance

123456

/OK3568_Linux_fs/kernel/arch/m68k/fpsp040/
H A Dsetox.S34 | argument X whose magnitude is less than 16380 log2, which
79 | Step 2. Calculate N = round-to-nearest-int( X * 64/log2 ).
81 | 2.2 N := round-to-nearest-integer( X * 64/log2 ).
99 | Z = X*(64/log2)*(1+eps), |eps| <= 2^(-24).
103 | Step 3. Calculate X - N*log2/64.
104 | 3.1 R := X + N*L1, where L1 := single-precision(-log2/64).
105 | 3.2 R := R + N*L2, L2 := extended-precision(-log2/64 - L1).
107 | the value -log2/64 to 88 bits of accuracy.
115 | N = rnd-to-int( X*64/log2 (1+eps) ), |eps|<=2^(-24)
116 | X*64/log2 (1+eps) = N + f, |f| <= 0.5
[all …]
H A Dscosh.S23 | 1. If |X| > 16380 log2, go to 3.
25 | 2. (|X| <= 16380 log2) Cosh(X) is obtained by the formulae
30 | 3. (|X| > 16380 log2). If |X| > 16480 log2, go to 5.
32 | 4. (16380 log2 < |X| <= 16480 log2)
42 | 5. (|X| > 16480 log2) sinh(X) must overflow. Return
H A Dstanh.S23 | 1. If |X| >= (5/2) log2 or |X| <= 2**(-40), go to 3.
25 | 2. (2**(-40) < |X| < (5/2) log2) Calculate tanh(X) by
30 | 3. (|X| <= 2**(-40) or |X| >= (5/2) log2). If |X| < 1,
33 | 4. (|X| >= (5/2) log2) If |X| >= 50 log2, go to 6.
35 | 5. ((5/2) log2 <= |X| < 50 log2) Calculate tanh(X) by
40 | 6. (|X| >= 50 log2) Tanh(X) = +-1 (round to nearest). Thus, we
H A Dssinh.S23 | 1. If |X| > 16380 log2, go to 3.
25 | 2. (|X| <= 16380 log2) Sinh(X) is obtained by the formulae
30 | 3. If |X| > 16480 log2, go to 5.
32 | 4. (16380 log2 < |X| <= 16480 log2)
43 | 5. (|X| > 16480 log2) sinh(X) must overflow. Return
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dlwt_len_hist_kern.c44 static unsigned int log2(unsigned int v) in log2() function
61 return log2(hi) + 32; in log2l()
63 return log2(v); in log2l()
H A Dlathist_kern.c40 static unsigned int log2(unsigned int v) in log2() function
59 return log2(hi) + 32; in log2l()
61 return log2(v); in log2l()
H A Dtracex2_kern.c45 static unsigned int log2(unsigned int v) in log2() function
62 return log2(hi) + 32; in log2l()
64 return log2(v); in log2l()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
H A Dhost.fuc40 .equ #fifo_qlen 4 // log2(size of queue entry in bytes)
41 .equ #fifo_qnum 3 // log2(max number of entries in queue)
49 .equ #rfifo_qlen 4 // log2(size of queue entry in bytes)
50 .equ #rfifo_qnum 3 // log2(max number of entries in queue)
H A Dmacros.fuc146 .equ #proc_qlen 4 // log2(size of queue entry in bytes)
147 .equ #proc_qnum 2 // log2(max number of entries in queue)
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/cuda/
H A Dvec_math.hpp256 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, uchar, float)
257 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, char, float)
258 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, ushort, float)
259 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, short, float)
260 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, int, float)
261 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, uint, float)
262 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, float, float)
263 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2, double, double)
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/cuda/
H A Dvec_math.hpp256 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, uchar, float)
257 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, char, float)
258 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, ushort, float)
259 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, short, float)
260 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, int, float)
261 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, uint, float)
262 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, float, float)
263 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2, double, double)
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/cuda/
H A Dvec_math.hpp256 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, uchar, float)
257 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, char, float)
258 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, ushort, float)
259 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, short, float)
260 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, int, float)
261 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, uint, float)
262 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2f, float, float)
263 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(log2, ::log2, double, double)
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/math/
H A Dlog2.hpp26 typename std::enable_if_t<std::is_floating_point<T>::value, T> log2(T x) { in log2() function
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/again/
H A Drk_aiq_again_algo.cpp233 th[i] = pow(2.0, (log2(gain_th0[i])+log2(gain_th1[i])) / 2); in Again_GainRatioProcess_V1()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/
H A Dmath.h341 extern double log2 (double);
343 #define log2(x) (log (x) / _M_LN2) macro
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/again2/
H A Drk_aiq_again_algo_v2.cpp195 th[i] = pow(2.0, (log2(gain_th0[i]) + log2(gain_th1[i])) / 2); in Again_GainRatioProcess_V2()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/
H A Dmath.h341 extern double log2 (double);
343 #define log2(x) (log (x) / _M_LN2) macro
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_rtalloc.c1308 int log2; /* log of sequence number */ in xfs_rtpick_extent() local
1321 if ((log2 = xfs_highbit64(seq)) == -1) in xfs_rtpick_extent()
1324 resid = seq - (1ULL << log2); in xfs_rtpick_extent()
1326 (log2 + 1); in xfs_rtpick_extent()
/OK3568_Linux_fs/u-boot/arch/arm/lib/
H A Duldivmod.S175 @ Q = A >> log2(B)
200 @ Q = A >> log2(B)
/OK3568_Linux_fs/kernel/arch/m68k/ifpsp060/src/
H A Dfplsp.S6733 # Step 2. Calculate N = round-to-nearest-int( X * 64/log2 ). #
6736 # 2.2 N := round-to-nearest-integer( X * 64/log2 ). #
6753 # Z = X*(64/log2)*(1+eps), |eps| <= 2^(-24). #
6757 # Step 3. Calculate X - N*log2/64. #
6759 # where L1 := single-precision(-log2/64). #
6761 # L2 := extended-precision(-log2/64 - L1).#
6763 # approximate the value -log2/64 to 88 bits of accuracy. #
6772 # N = rnd-to-int( X*64/log2 (1+eps) ), |eps|<=2^(-24) #
6773 # X*64/log2 (1+eps) = N + f, |f| <= 0.5 #
6774 # X*64/log2 - N = f - eps*X 64/log2 #
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/
H A Dcollision_feature.cpp55 const float overscalingPaddingFactor = 1 + .4 * ::log2(static_cast<double>(overscaling)); in bboxifyLabel()
/OK3568_Linux_fs/kernel/drivers/edac/
H A Dskx_base.c235 u32 log0, log1, log2, log3, log4; in skx_show_retry_rd_err_log() local
244 pci_read_config_dword(edev, 0x150, &log2); in skx_show_retry_rd_err_log()
249 log0, log1, log2, log3, log4); in skx_show_retry_rd_err_log()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/aynr/
H A Drk_aiq_aynr_algo_v1.cpp299 th[i] = pow(2.0, (log2(gain_th0[i]) + log2(gain_th1[i])) / 2); in Aynr_GainRatioProcess_V1()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/auvnr/
H A Drk_aiq_auvnr_algo_v1.cpp307 th[i] = pow(2.0, (log2(gain_th0[i]) + log2(gain_th1[i])) / 2); in Auvnr_GainRatioProcess_V1()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/amfnr/
H A Drk_aiq_amfnr_algo_v1.cpp294 th[i] = pow(2.0, (log2(gain_th0[i]) + log2(gain_th1[i])) / 2); in Amfnr_GainRatioProcess_V1()

123456