Ticket #15987: long-literal.warn

File long-literal.warn, 3.0 KB (added by wluebbe, 5 years ago)

search result for integer literals with suffix "L" (type long)

Line 
1### reg-exp= (\d+L) \s
2    comment=  A.18 (p. 90); L suffix for long integer literal
3~/sage-develop/src/sage/rings/padics/padic_generic_element.pyx:42:23:1L:cdef long maxordp = (1L << (sizeof(long) * 8 - 2)) - 1
4~/sage-develop/src/sage/rings/real_double.pyx:1546:14:10000000000000000L:            10000000000000000L                   # 32-bit
5~/sage-develop/src/sage/rings/padics/common_conversion.pyx:37:23:1L:cdef long maxordp = (1L << (sizeof(long) * 8 - 2)) - 1
6~/sage-develop/src/sage/combinat/binary_tree.py:755:27:10L:            ValueError: R10L is not a correct map
7~/sage-develop/src/sage/rings/padics/padic_ZZ_pX_CR_element.pyx:211:23:1L:cdef long maxordp = (1L << (sizeof(long) * 8 - 2)) -1
8~/sage-develop/src/sage/rings/padics/padic_ZZ_pX_CR_element.pyx:1393:84:1L:                    ZZ_pX_PowerMod_long_pre(high_shifter, high_shifter, (shift / (1L << (high_length - 1))), modulus[0])
9~/sage-develop/src/sage/rings/padics/padic_ZZ_pX_CR_element.pyx:1396:39:1L:                    shift = shift % (1L << (high_length - 1))
10~/sage-develop/src/sage/libs/pari/gen.pyx:1218:14:9223372036854775807L:            9223372036854775807L  # 32-bit
11~/sage-develop/src/sage/rings/padics/pow_computer_ext.pyx:218:67:1L:        ZZ_pX_PowerXMod_long_pre(into_multiplier, prime_pow.e - (1L << i), prime_pow.get_top_modulus()[0])
12~/sage-develop/src/sage/rings/padics/pow_computer_ext.pyx:413:68:1L:#            ZZ_pX_PowerMod_long_pre(shifter, shifter, (pshift / (1L << (high_length - 1))), m)
13~/sage-develop/src/sage/rings/padics/pow_computer_ext.pyx:420:34:1L:#            pshift = pshift % (1L << (high_length - 1))
14~/sage-develop/src/sage/rings/padics/pow_computer_ext.pyx:1588:114:1L:#                 ZZ_pX_PowerMod_long_pre(high_shifter, self.high_shifter[self.high_length-1].val(), (pshift / (1L << (self.high_length - 1))), self.get_top_modulus()[0])
15~/sage-develop/src/sage/rings/padics/pow_computer_ext.pyx:1595:39:1L:#                 pshift = pshift % (1L << (self.high_length - 1))
16~/sage-develop/src/sage/combinat/dyck_word.py:1527:27:10L:            ValueError: R10L is not a correct map
17~/sage-develop/src/sage/misc/memory_info.py:443:10:4294967296L:        4294967296L      # 32-bit
18~/sage-develop/src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx:188:23:1L:cdef long maxordp = (1L << (sizeof(long) * 8 - 2)) -1
19~/sage-develop/src/sage/ext/multi_modular.pyx:851:14:10009L:            10009L            # 32-bit
20~/sage-develop/src/sage/ext/multi_modular.pyx:971:14:4561L:            4561L            # 32-bit
21~/sage-develop/src/sage/ext/multi_modular.pyx:1001:14:4561L:            4561L            # 32-bit
22~/sage-develop/src/sage/rings/padics/pow_computer.pyx:42:26:1L:cdef long maxpreccap = (1L << (sizeof(long) * 8 - 2)) - 1
23~/sage-develop/src/sage/interfaces/r.py:1611:58:1L:            sage: rel_re_integer.sub(a._subs_integer, ' 1L 2L')
24~/sage-develop/src/sage/interfaces/r.py:1613:57:1L:            sage: rel_re_integer.sub(a._subs_integer, '1L 2L')
25~/sage-develop/src/sage/interfaces/r.py:1614:15:1L:            '1L Integer(2)'