base-conversion
Converting decimal to binary
I want to convert decimal number in binary number. I\'m using this method: - (NSMutableString*)intStringToBinary:(long long)element{[详细]
2023-04-10 13:56 分类:问答base_convert and negative numbers
The base_convert() function doesn\'t seem to preserve the sig开发者_如何学JAVAn. For example: var_dump (base_convert (\'-100\', 10, 10));[详细]
2023-03-27 17:31 分类:问答Optimizing Base Conversion Loop
So, for my Cryptography Library, I have a base converter that I use quite often.It\'s not the most efficient thing in the world, but it works quite well for all ranges of input.[详细]
2023-03-27 15:49 分类:问答PHP: Will this function always generate a unique string?
Will this following function always generate a unique string? What will be the length range of generated string from the following function? Can it be improved to generate more uniqueness?[详细]
2023-03-15 16:25 分类:问答Random string gets repeated?
I have a service on the internet wher开发者_如何学JAVAe people post pictures and a short string is generated. Only one can be used ever. However, I am getting into duplicates in the database and I am[详细]
2023-03-07 22:01 分类:问答Unlimited-size base conversion?
I\'m trying to implement a BigInt type in JavaScript using an array of integers. For now each one has an upper-bound of 256. I\'ve finished开发者_开发问答 implementing all integer operations, but I ca[详细]
2023-03-02 20:32 分类:问答Why is it useful to know how to convert between numeric bases?
We are learning about converting Binary to Decimal (and vice-versa) as well as othe开发者_开发问答r base-conversion methods, but I don\'t understand the necessity of this knowledge.[详细]
2023-02-25 19:24 分类:问答Convert large hex string to decimal string
I need to convert a large (too large for the built-in data types) hex string to a string with it\'s 开发者_如何学JAVAdecimal representation. For example:[详细]
2023-02-05 17:55 分类:问答Decimal-to-binary conversion
I want to convert decimal numbers to binary numbers. I want to store them in an array. First I need to create an array that has a certain length so that I can store the binary numbers. After that I pe[详细]
2023-01-24 09:44 分类:问答PL/SQL base conversion without functions
Is there any way to convert decimal to binary, or binary to decimal, in Oracle 10g without having to first define a function?I have limited database access (SELECT only) an开发者_如何学编程d all the s[详细]
2023-01-04 09:46 分类:问答