Describe the bug

 bin (stable) redis-cli
127.0.0.1:6379> set foo 123.23
OK
127.0.0.1:6379> incrbyfloat foo 1.2
"124.43000000000000682"
127.0.0.1:6379> 

To reproduce

See above

Expected behavior

The output should be 124.43.

Additional information

This bug was discovered by running tests on ioredis https://github.com/luin/ioredis/issues/1510 I was able to confirm that running on the same version of redis on Ubuntu had no issues. (version 6.2.6) redis was installed using homebrew.

Comment From: sundb

@dipunm Since long double has different precision at different points, this return is normal. ref #9709