<div>Thanks for the answers.</div><div>Well, it is not obvious at first sight :)</div><div> </div><div> </div><div>29.04.2019, 11:31, "Bob Ippolito" <bob@redivi.com>:</div><blockquote><div>It's possible because the default size for an integer in bit syntax is 8.<div> </div><div>1> 24930 rem 256 =:= 98.</div><div>true</div><div> </div><div>For further explanation of this behavior you can take a look at this section of the documentation: <a href="http://erlang.org/doc/programming_examples/bit_syntax.html#Defaults">http://erlang.org/doc/programming_examples/bit_syntax.html#Defaults</a></div><div> </div><div>-bob</div></div> <div><div>On Mon, Apr 29, 2019 at 1:27 AM DOBRO <<a href="mailto:chessvegas@chessvegas.com">chessvegas@chessvegas.com</a>> wrote:</div><blockquote style="border-left-color:rgb( 204 , 204 , 204 );border-left-style:solid;border-left-width:1px;margin-bottom:0px;margin-left:0.8ex;margin-right:0px;margin-top:0px;padding-left:1ex"><div>Hi,</div><div>could anyone explain me how is it possible?</div><div> </div><div>In shell:</div><div> </div><div><div>1> <<24930>> =:= <<98>>.</div><div>true</div><div> </div><div> </div><div>I'm using OTP-21.3.7.</div><div> </div></div>_______________________________________________<br />erlang-questions mailing list<br /><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br /><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></blockquote></div></blockquote>