Gollum
- 26 Posts
- 8 Comments
Joined 2 years ago
Cake day: May 17th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
The C standard library function int rand(void) returns a pseudo random integer between 0 and RAND_MAX (which should be at least 2^15, depending on the actual implementation).
Depending on the distribution of the pseudo random numbers, it will be true for over > 99% of its applications.
Source: trust me bro, and C++ reference
Furthermore, there is no integer between 0 and 1, but I guess you mean a real number between 0 and 1.
Gollum@feddit.deOPto
Programmer Humor@programming.dev•Chewing gum as a promotional gift for a RTOS
3·2 years agoOk may bad, it’s the client I am using, it works on other Apps.
Gollum@feddit.deOPto
Programmer Humor@programming.dev•Chewing gum as a promotional gift for a RTOS
21·2 years agoAlthough the best-before date had already passed, the chewing gum was still good.

Gollum@feddit.deOPto
Programmer Humor@programming.dev•Chewing gum as a promotional gift for a RTOS
5·2 years agoThere is one
/to much, well it isn’t but the URL formatting isn’t working for me. 🥲
I am sorry, but I identify myself as a lemming.






I request a proof.