mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-30 23:23:07 +00:00 
			
		
		
		
	 75845c0283
			
		
	
	75845c0283
	
	
	
		
			
			Previously int/to-number would fail if the input was outside the range of an int32. Because Janet numbers are doubles, they can safely store larger ints than an int32. This commit updates int/to-number to restrict the value to the range of integers a double can hold, instead of an int32.