# LP64: -0x10000000000000001 \<\< -0x80000001

**URL:** <https://www.ruby-forum.com/t/lp64-0x10000000000000001-0x80000001/112183>\
**Category:** Development\
**Created:** [August 16, 2007, 4:44am UTC](https://www.ruby-forum.com/t/lp64-0x10000000000000001-0x80000001/112183 "2007-08-16T04:44:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tanaka\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c67d28/32.png) [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Post date:** [August 16, 2007, 4:44am UTC](https://www.ruby-forum.com/t/lp64-0x10000000000000001-0x80000001/112183/1 "2007-08-16T04:44:50Z")

</div>

LP64 e$B4D6-$G!"e(B-0x10000000000000001 \<\< -0x80000001 e$B$,e(B  
RangeError e$B$K$J$j$^$9!#e(B

% ./ruby -ve ‘p(-0x10000000000000001 \<\< -0x80000001)’  
ruby 1.9.0 (2007-08-16 patchlevel 0) [x86\_64-freebsd6.2]  
-e:1:in `<<': integer -2147483649 too small to convert to`int’  
(RangeError)  
from -e:1:in `’

e$B$"$H!"e(B-3 \<\< -0x4000000000000001 e$B$,e(B -2 e$B$K$J$j$^$9!#e(B

% ./ruby -ve ‘p(-3 \<\< -0x4000000000000001)’  
ruby 1.9.0 (2007-08-16 patchlevel 0) [x86\_64-freebsd6.2]  
-2
