Post #1233650
2026-03-11 13:10 UTC
If 1 no else if 2 yes else if 3 no....
Replies (3)
-
@Shayeta@feddit.org 2026-03-11 14:23
If you want to learn natural language processing, this is actually a fun example to generate code for.
-
@fckreddit@lemmy.ml 2026-03-11 13:28
Exactly...
-
@prime_number_314159@lemmy.world 2026-03-12 02:05
Are you working with 20 bit integers? You'll never get it down to a million lines like that... There's a million lines of If >4096, subtract 4096 Then a quick lookup case statement for whether the remaining number is even.