this post was submitted on 22 Oct 2023
614 points (95.7% liked)

Programmer Humor

32721 readers
727 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] driving_crooner@lemmy.eco.br 2 points 1 year ago (1 children)

I don't have a mathematical proof, but doing some experimental tests on excel, using multiple (more than 3) numers and using negative numbers (including only negative numbers) it works perfectly every time.

[โ€“] neeeeDanke@feddit.de 2 points 1 year ago* (last edited 1 year ago)

Try (100,100,100,100,100,101) or 50 ones and a two, should result in 102 and 4 as a max respectively. I tried using less numbers, but the less numbers you use, the higher the values (to be exact less off a deviation(%-difference) between the values, resulting in higher numbers) have to be and wolframAlpha does not like 10^100 values so I stopped trying.