| |

VerySource

 Forgot password?
 Register
Search
Author: 痲雀要革命

Masters, our boring teacher has posted such a question again

[Copy link]

0

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-24 20:18:01
| Show all posts
You meet first, then the teacher is boring
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-2-13 17:30:01
| Show all posts
Thank you all for coming here to help, but I also feel that the floating point type cannot be shifted, but the problem is like this, it is really strange, I really hope that a master can break it a little, and then I will do it on the exam game over.
Reply

Use magic Report

0

Threads

18

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 Unknown

Post time: 2020-4-8 18:30:01
| Show all posts
Shift one bit to the left is x2, you try it out, and then output into octal.
Reply

Use magic Report

0

Threads

26

Posts

21.00

Credits

Newbie

Rank: 1

Credits
21.00

 China

Post time: 2020-4-10 20:15:01
| Show all posts
Your teacher should indicate that you cannot use float.MaxValue
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-4-13 22:15:01
| Show all posts
shygza
Without this, is there any way to get the maximum value?

There is alsomgcfox, what does "shift to the left by x2" mean?

Everyone is embarrassed, I just learned this subject soon, so there are many reasons why.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list