Home
last modified time | relevance | path

Searched refs:rotate (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/
DdqRotate.decTest2 -- dqRotate.decTest -- rotate decQuad coefficient left or right --
30 dqrot001 rotate 0 0 -> 0
31 dqrot002 rotate 0 2 -> 0
32 dqrot003 rotate 1 2 -> 100
33 dqrot004 rotate 1 33 -> 1000000000000000000000000000000000
34 dqrot005 rotate 1 34 -> 1
35 dqrot006 rotate 1 -1 -> 1000000000000000000000000000000000
36 dqrot007 rotate 0 -2 -> 0
37 dqrot008 rotate 1234567890123456789012345678901234 -1 -> 4123456789012345678901234567890123
38 dqrot009 rotate 1234567890123456789012345678901234 -33 -> 2345678901234567890123456789012341
[all …]
DddRotate.decTest2 -- ddRotate.decTest -- rotate a decDouble coefficient left or right --
30 ddrot001 rotate 0 0 -> 0
31 ddrot002 rotate 0 2 -> 0
32 ddrot003 rotate 1 2 -> 100
33 ddrot004 rotate 1 15 -> 1000000000000000
34 ddrot005 rotate 1 16 -> 1
35 ddrot006 rotate 1 -1 -> 1000000000000000
36 ddrot007 rotate 0 -2 -> 0
37 ddrot008 rotate 1234567890123456 -1 -> 6123456789012345
38 ddrot009 rotate 1234567890123456 -15 -> 2345678901234561
[all …]
Drotate.decTest2 -- rotate.decTest -- rotate coefficient left or right --
29 rotx001 rotate 0 0 -> 0
30 rotx002 rotate 0 2 -> 0
31 rotx003 rotate 1 2 -> 100
32 rotx004 rotate 34 8 -> 400000003
33 rotx005 rotate 1 9 -> 1
34 rotx006 rotate 1 -1 -> 100000000
35 rotx007 rotate 123456789 -1 -> 912345678
36 rotx008 rotate 123456789 -8 -> 234567891
37 rotx009 rotate 123456789 -9 -> 123456789
[all …]
Dtestall.decTest66 dectest: rotate
Dextra.decTest189 -- Issue #7233: rotate and scale should truncate an argument
192 extr1600 rotate 1234567 -5 -> NaN Invalid_operation
193 extr1601 rotate 1234567 -4 -> 4567
194 extr1602 rotate 1234567 -3 -> 5674
195 extr1603 rotate 1234567 -2 -> 6745
196 extr1604 rotate 1234567 -1 -> 7456
197 extr1605 rotate 1234567 0 -> 4567
198 extr1606 rotate 1234567 1 -> 5674
199 extr1607 rotate 1234567 2 -> 6745
200 extr1608 rotate 1234567 3 -> 7456
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Drotatingtree.c67 int rotate; in RotatingTree_Get() local
73 rotate = !randombits(1); in RotatingTree_Get()
78 if (rotate) { in RotatingTree_Get()
90 if (rotate) { in RotatingTree_Get()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_deque.py144 d.rotate(-1)
145 d.rotate(1)
256 d.rotate(1) # verify rot(1)
260 d.rotate(-1) # verify rot(-1)
262 d.rotate() # check default to 1
268 d.rotate(i) # check vs. rot(1) n times
270 e.rotate(1)
272 d.rotate(-i) # check that it works in reverse
274 e.rotate(n-i) # check that it wraps forward
280 d.rotate(-i)
[all …]
Dtest_decimal.py1636 self.assertEqual(Decimal(123).rotate(1),
1637 Decimal(123).rotate(Decimal(1)))
2127 d = c.rotate(Decimal(1), Decimal(2))
2128 self.assertEqual(c.rotate(1, 2), d)
2129 self.assertEqual(c.rotate(Decimal(1), 2), d)
2130 self.assertEqual(c.rotate(1, Decimal(2)), d)
2131 self.assertRaises(TypeError, c.rotate, '1', 2)
2132 self.assertRaises(TypeError, c.rotate, 1, '2')
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/Madt/
DMadt30.aslc75 …// BSP needs to be first entry in table. Check before boot. If BSP non zero need to rotate the ent…
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Ddecimal.py3504 def rotate(self, other, context=None): member in Decimal
5155 def rotate(self, a, b): member in Context
5182 return a.rotate(b, context=self)