this post was submitted on 06 Aug 2023
1726 points (98.5% liked)

Programmer Humor

32042 readers
1108 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
[–] [email protected] 6 points 1 year 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] 0 points 1 year ago (3 children)

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

[–] [email protected] 1 points 1 year 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 1 year 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)