Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged binary

0 votes
437 views
1 answer
    What happens when you assign an int to a char in C? Does it always just ignore the extra bits on the left ... is 111110100 and 244 is 11110100. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
785 views
1 answer
    I have following problem: I want to convert some Binary Strings to an integer: eargb = Integer ... string: "11111111111000101000100111111010" See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
647 views
1 answer
    I'm trying to tack on some information about the physical size for printing my PNGs just before they are generated. ... to make them 32-bit? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
558 views
1 answer
    I have do not have much knowledge of C and im stuck with a problem since one of my colleague is on leave. I ... is 0xD123, or 53,539 decimal. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
426 views
1 answer
    I have a Haskell program which takes a file as an input and convert it into a binary search tree. import ... does anyone can help me? Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
781 views
1 answer
    I need to find a way to convert a large number into a hex string in javascript. Straight off the bat, I ... I am really rather stuck here. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
686 views
1 answer
    I am having trouble finding a way to compare a positive number and a negative number in x86 assembly code. For example: ... .g 1 > -1) Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
733 views
1 answer
    I have do not have much knowledge of C and im stuck with a problem since one of my colleague is on leave. I ... is 0xD123, or 53,539 decimal. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
434 views
1 answer
    In R, I want to generate a random sample of a discrete random variable: X, where: P(X=a)=P(X=-a) ... there seems no direct function doing this. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
411 views
1 answer
    In R, I want to generate a random sample of a discrete random variable: X, where: P(X=a)=P(X=-a) ... there seems no direct function doing this. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
605 views
1 answer
    Using six-bit one's and two's complement representation I am trying to solve the following problem: 12 - 7 Now, i ... I flip the bits? = 101111 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
399 views
1 answer
    let's say, for the float type in c, according to the IEEE floating point specification, there are 8-bit used ... the same as the previous one. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
507 views
1 answer
    Is there any way to force my asp.net application to load the assembly from local bin directory since there is ... newer version to the gac. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
510 views
1 answer
    Is two's complement notation of a positive number is same as its binary representation? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
368 views
1 answer
    I have an array of hex numbers, and I need to go over other numbers and check if they appear in that array. ... else{ return 0;#Good str } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
412 views
1 answer
    My question is based off of inheriting a great deal of legacy code that I can't do very much about. ... in the documentation? Thanks! mmr See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
453 views
1 answer
    I am wondering what the differences are between binary and text based protocols. I read that binary protocols are ... in size in binary format? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
421 views
1 answer
    I already found encoding/binary package to deal with it, but it depended on reflect package so it didn't work with ... ) fmt.Println(e, err) } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
637 views
1 answer
    i know unsigned,two's complement, ones' complement and sign magnitude, and the difference between these, but ... to represent negative numbers? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
575 views
1 answer
    Until now I believed that 1024 bytes equals 1 KB (kilobyte) but I was reading on the internet about decimal ... there is a general confusion? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
564 views
1 answer
    For example, if n=9, then how many different values can be represented in 9 binary digits (bits)? My thinking is ... I generalize it to n bits? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
364 views
1 answer
    does anyone have a good definition for what a binary protocol is? and what is a text protocol actually? how ... is encoded before being sent. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
566 views
1 answer
    As far as I know, the two's complement algo is: 1.Represent the decimal in binary. 2.Inverse all bits. 3.Add 1 ... -3. What am I doing wrong? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
502 views
1 answer
    I have a List of object sorted and I want to find the first occurrence and the last occurrence of an object ... standard import java.util.List; See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
509 views
1 answer
    The new C++ standard still refuses to specify the binary representation of integer types. Is this because ... integer representations. WHY? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
513 views
1 answer
    I see that when I subtract positive and negative number using two's complement I get overflows. For example, if ... on these and show example? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
446 views
1 answer
    Let's say I have an integer I and want to get the count of 1s in its binary form. I am currently using ... i is within the 32-bit limitation. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
415 views
1 answer
    I occasionally will come across an integer type (e.g. POSIX signed integer type off_t) where it would ... view this question on StackOverflow. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...