| 
							
							
								 ykiko | 8ca7e9f6cf | add bit_length method to int. (#233) * add bit_length method to int.
* Update pocketpy.cpp
* Update 01_int.py
* Update 01_int.py
---------
Co-authored-by: BLUELOVETH <blueloveTH@foxmail.com> | 2024-03-28 19:51:39 +08:00 |  | 
			
				
					| 
							
							
								 blueloveTH | d7545071e5 | optimize int()andfloat() | 2024-03-28 17:50:23 +08:00 |  | 
			
				
					| 
							
							
								 blueloveTH | 3ebc19bf7f | fix warnings | 2024-03-17 17:53:55 +08:00 |  | 
			
				
					| 
							
							
								 blueloveTH | 2b43cbd25c | some optimize | 2024-03-17 17:48:57 +08:00 |  | 
			
				
					| 
							
							
								 blueloveTH | d4cf8b8c03 | Update 01_int.py | 2024-03-04 17:07:32 +08:00 |  | 
			
				
					| 
							
							
								 blueloveTH | f95bdd45ac | fix https://github.com/pocketpy/pocketpy/issues/223 | 2024-03-04 17:03:58 +08:00 |  | 
			
				
					| 
							
							
								 blueloveTH | 7f7e1a14ee | raise error on literal ints overflow | 2024-03-04 16:48:47 +08:00 |  | 
			
				
					| 
							
							
								 blueloveTH | 214395fab6 | fix https://github.com/pocketpy/pocketpy/issues/214 | 2024-02-26 10:40:37 +08:00 |  | 
			
				
					| 
							
							
								 blueloveTH | 1e77f369a2 | ... | 2024-01-19 14:27:13 +08:00 |  | 
			
				
					| 
							
							
								 blueloveTH | cdcdded9a3 | some fix | 2023-10-15 16:47:53 +08:00 |  | 
			
				
					| 
							
							
								 blueloveTH | 7c3ac48202 | enable LTO | 2023-10-11 13:20:48 +08:00 |  | 
			
				
					| 
							
							
								 Steve Tautonico | badc8d44d1 | Added binary literal support | 2023-10-08 00:20:14 -04:00 |  | 
			
				
					| 
							
							
								 Steve Tautonico | 4d2b3e59a1 | Added octal literal support | 2023-10-07 03:53:34 -04:00 |  | 
			
				
					| 
							
							
								 blueloveTH | 6ca35ed4b9 | ... | 2023-09-22 20:48:54 +08:00 |  | 
			
				
					| 
							
							
								 blueloveTH | 71234ae73c | ... | 2023-09-22 20:08:34 +08:00 |  | 
			
				
					| 
							
							
								 blueloveTH | e9b2060276 | add ZeroDivisionError | 2023-09-22 00:23:22 +08:00 |  | 
			
				
					| 
							
							
								 BLUELOVETH | d5fc2c8686 | add ~operator | 2023-07-07 18:43:50 +08:00 |  | 
			
				
					| 
							
							
								 blueloveTH | 809fd8dd8c | update test | 2023-03-16 16:07:17 +08:00 |  |