• 127 Posts
  • 37 Comments
Joined 1 year ago
cake
Cake day: May 17th, 2023

help-circle

  • Ich würde gerne zahlendes Mitglied des Vereins werden. 👀

    Die Situation hier ist leider etwas bedauerlich und ich trauere den guten Zeiten hinterher, finde die Idee daher sehr interessant und spannend!

    Muss gestehen, dass ich die Matrix-Raum-Kommunikation als störend erachte.

    Aber freue mich, dass sich hier was tut.


























  • Gollum@feddit.deOPtoProgrammer Humor@programming.devMe after I got fired
    link
    fedilink
    arrow-up
    110
    arrow-down
    1
    ·
    edit-2
    7 months ago

    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.