this post was submitted on 06 Aug 2023
1748 points (98.4% liked)

Programmer Humor

31260 readers
1055 users here now

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

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] danielbln 5 points 11 months ago (7 children)

It's a language model, I don't know why you would expect math. Tell it to output code to perform the math, that'll work just fine.

[–] [email protected] 1 points 11 months ago (3 children)

I know. It's still baffling how much it messes up when adding two numbers.

[–] danielbln 1 points 11 months ago (1 children)

I just asked GPT-4:

What's 7 * 8 divided by 10, to the power of 3?

Its reply:

Let's break this down step by step:

First, multiply 7 and 8 to get 56.

Then, divide 56 by 10 to get 5.6.

Finally, raise 5.6 to the power of 3 (5.6 * 5.6 * 5.6) to get 175.616.

So, 7 * 8 divided by 10, to the power of 3 equals 175.616

[–] [email protected] 1 points 11 months ago

It's pretty hit or miss though... I've had lots of good calculations with the odd wrong one sprinkled in, making it unreliable for doing maths. Mostly because it presents the result with absolute certainty.

load more comments (1 replies)
load more comments (4 replies)