[Bf-committers] Verse 2005 Errors

Mathias Panzenböck grosser.meister.morti at gmx.net
Thu Sep 14 22:13:08 CEST 2006


Hans Lambermont wrote:
> Branan Riley wrote:
> 
> 
>>16,777,215 * 2^127. Running that through Kcalc, I get
>>2.854495215270736302e+45. I'd do it out by hand to get an exact
>>number, but that's a 152-bit number, so I'm not going to even think
>>about it. If someone wants to run that through, and see what comes up
>>for the binary representation, that would be nifty.
> 
> 
> I don't have it in binary for you, but bc(1) at least gives the whole
> number :
> 
> 2854495215270736301647340207211686556881387520
> 
> -- Hans
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
> 
> 

python says the same:

>>> 16777215*2**127
2854495215270736301647340207211686556881387520L

>>> hex(16777215*2**127)
'0x7FFFFF80000000000000000000000000000000L'


	panzi


More information about the Bf-committers mailing list