this post was submitted on 16 Jan 2024
0 points (NaN% liked)

Comics

583 readers
1 users here now

A community for sharing comics related to programming

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
 

Transcript:

[A computer program.]

int getRandomNumber()
{
   return 4; // chosen by fair dice roll.
             // guaranteed to be random.
}

Hover Text:

RFC 1149.5 specifies 4 as the standard IEEE-vetted random number.

top 3 comments
sorted by: hot top controversial new old
[–] pineapplelover@lemm.ee 0 points 2 years ago (1 children)

Didn't know that. That's kind of funny

[–] BetterDev@programming.dev 0 points 2 years ago (1 children)
[–] pineapplelover@lemm.ee 1 points 2 years ago

RFC 1149.5 specifies 4 as the standard IEEE-vetted random number.

I didn't know 4 was the official random number.