sigmoid.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A social space for people researching, working with, or just interested in AI!

Server stats:

594
active users

#c

22 posts15 participants0 posts today

Asked Claude.ai to write C code for radix sort of floating point numbers. Compiles and runs and test code- thatś good. But

Test 1 - Mixed numbers:
Before sorting: 3.14 -2.71 1.41 -0.57 2.23 -1.73 0.00
After sorting: 1.64 2.54 7.44 -nan -3.18 -1.88 -1.43

Result: "sorted"numbers are not the same as to be sorted numbers and are not in order. Otherwise all good.

#c #c-code #ai