Home
last modified time | relevance | path

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

12

/openbmc/linux/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
H A Dstwotox.S325 cmpil #0x400B9B07,%d0 | ...|X| <= 16480*log2/log10 ?
/openbmc/linux/samples/bpf/
H A Dlwt_len_hist.bpf.c24 static unsigned int log2(unsigned int v) in log2() function
41 return log2(hi) + 32; in log2l()
43 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.bpf.c43 static unsigned int log2(unsigned int v) in log2() function
60 return log2(hi) + 32; in log2l()
62 return log2(v); in log2l()
/openbmc/qemu/tests/fp/
H A Dmeson.build150 'fp-test-log2',
151 ['fp-test-log2.c', '../../fpu/softfloat.c'],
155 test('fp-test-log2', fptestlog2,
156 timeout: slow_fp_tests.get('log2', 30),
H A Dfp-test-log2.c108 real.d = log2(test.d); in main()
113 real.d = log2(test.d); in main()
/openbmc/linux/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)
/openbmc/linux/sound/soc/fsl/
H A Dfsl_xcvr.c265 u32 i, div = 0, log2; in fsl_xcvr_en_phy_pll() local
281 log2 = ilog2(div); in fsl_xcvr_en_phy_pll()
312 FSL_XCVR_PLL_PDIVx(log2, 0), 0); in fsl_xcvr_en_phy_pll()
319 FSL_XCVR_PLL_PDIVx(log2, 1), 0); in fsl_xcvr_en_phy_pll()
326 FSL_XCVR_PLL_PDIVx(log2, 2), 0); in fsl_xcvr_en_phy_pll()
354 fsl_xcvr_pll_cfg[i].mfn, fsl_xcvr_pll_cfg[i].mfd, div, log2); in fsl_xcvr_en_phy_pll()
/openbmc/u-boot/arch/arm/lib/
H A Duldivmod.S174 @ Q = A >> log2(B)
199 @ Q = A >> log2(B)
/openbmc/linux/drivers/edac/
H A Dskx_base.c236 u32 log0, log1, log2, log3, log4; in skx_show_retry_rd_err_log() local
245 pci_read_config_dword(edev, 0x150, &log2); in skx_show_retry_rd_err_log()
250 log0, log1, log2, log3, log4); in skx_show_retry_rd_err_log()
H A Di10nm_base.c211 u32 log0, log1, log2, log3, log4; in show_retry_rd_err_log() local
270 log2 = I10NM_GET_REG32(imc, res->channel, offsets[2]); in show_retry_rd_err_log()
272 log0, log1, log2, log3, log4, log5); in show_retry_rd_err_log()
/openbmc/qemu/qapi/
H A Dstats.json28 # @log2-histogram: stat is a logarithmic histogram, with one bucket
35 'log2-histogram' ] }
/openbmc/linux/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 …]
/openbmc/linux/fs/xfs/
H A Dxfs_rtalloc.c1508 int log2; /* log of sequence number */ in xfs_rtpick_extent() local
1521 if ((log2 = xfs_highbit64(seq)) == -1) in xfs_rtpick_extent()
1524 resid = seq - (1ULL << log2); in xfs_rtpick_extent()
1526 (log2 + 1); in xfs_rtpick_extent()
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dkernel-api.rst157 include/linux/log2.h
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A Ddm-integrity.rst241 * log2(interleave sectors)
256 * log2(sectors per block)
302 in one run must be a power of two. log2 of this value is stored
/openbmc/u-boot/fs/reiserfs/
H A Dreiserfs_private.h482 log2 (unsigned long word) in log2() function
/openbmc/qemu/fpu/
H A Dsoftfloat-parts.c.inc1501 * Return log2(A)
1503 static void partsN(log2)(FloatPartsN *a, float_status *s, const FloatFmt *fmt)
1517 /* log2(0) = -inf */
1549 * When a_exp == -1, we're computing the log2 of a value [0.5,1.0).
1578 * When a_exp == 0, we're computing the log2 of a value
/openbmc/linux/arch/arm/mm/
H A Dproc-macros.S384 pr_sz \dest, \size, \size @ calculate log2(size) - 1
/openbmc/linux/arch/powerpc/platforms/ps3/
H A DKconfig44 expressed as the log2 of the page table size. Valid values are

12