Useful calculator that calculate the bitwise operations: and, or, xor, not, shift left and shift right on decimal, binary and hexadecimal numbers.
Here is the link: Bitwise Calculator
Useful calculator that calculate the bitwise operations: and, or, xor, not, shift left and shift right on decimal, binary and hexadecimal numbers.
Here is the link: Bitwise Calculator
I can see the use of it, But using bits and hexadecimal is only usefull in a handfull of ways (Talking from a java perspective, Maybe in other languages it's more efficient)
no I haven't used it, If I ever want to mask anything I'll make sure to use it though :)
http://www.convertforfree.com/prime-factorization-calculator/
Why is there such a low limit? 2^53 is small. Python has native arbitrary precision that goes far beyond this.
At 12/3/15 04:56 PM, sharpnova wrote: http://www.convertforfree.com/prime-factorization-calculator/
Why is there such a low limit? 2^53 is small. Python has native arbitrary precision that goes far beyond this.
This converter is written in JS, and this is the limit for numbers in JS...
At 12/5/15 07:31 PM, gamestoenjoy wrote: This converter is written in JS, and this is the limit for numbers in JS...
At 12/5/15 07:31 PM, gamestoenjoy wrote:At 12/3/15 04:56 PM, sharpnova wrote: http://www.convertforfree.com/prime-factorization-calculator/This converter is written in JS, and this is the limit for numbers in JS...
Why is there such a low limit? 2^53 is small. Python has native arbitrary precision that goes far beyond this.
I'm basically asking why you didn't use Python
And as the great Diki has pointed out JS gets up to 64
At 12/6/15 08:21 PM, sharpnova wrote: I'm basically asking why you didn't use Python
I wanted to use client based programming language and not server based...
At 12/13/15 07:19 AM, gamestoenjoy wrote:At 12/6/15 08:21 PM, sharpnova wrote: I'm basically asking why you didn't use PythonI wanted to use client based programming language and not server based...
Yes Javascript is client side. So I still don't get the limitation.
It's a minor thing. A curiosity I noticed. You did something weird and wrong there.
I'd take a look at your code but I just don't have time. I have to attend the Skellige coronation this evening and I need to prepare by killing hundreds of sirens and drowners so I'm not distracted by a bunch of question marks on my map.
At 12/13/15 10:30 AM, sharpnova wrote: Yes Javascript is client side. So I still don't get the limitation.
Buddy check here about the number limitation:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER
At 12/18/15 03:39 PM, gamestoenjoy wrote:At 12/13/15 10:30 AM, sharpnova wrote: Yes Javascript is client side. So I still don't get the limitation.Buddy check here about the number limitation:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER
Friend I'm not sure what that means. But it sounds like "max safe integer" is smaller than the max integer you can use in practice which is 2^64 - 1
At 12/19/15 02:13 AM, sharpnova wrote: Friend I'm not sure what that means. But it sounds like "max safe integer" is smaller than the max integer you can use in practice which is 2^64 - 1
Yes, you are probably right...
Many languages already support basic bitwise operators, for example, in most languages, you can use
a | b for OR
a & b for AND
a ^ b for XOR
At 1/20/16 08:59 PM, ElectroBit wrote: Many languages already support basic bitwise operators, for example, in most languages, you can use
a | b for OR
a & b for AND
a ^ b for XOR
Yes but if you don't want to write a program for each calculation you have, then this tool will do the job :)
Bitwise operators can be really useful with a Python add-on called CWiiD.
At 1/25/16 08:39 PM, ElectroBit wrote: Bitwise operators can be really useful with a Python add-on called CWiiD.
I guess so, but sorry I don't know Python...