2 ms·
Certainly not floating point results in C for either of those. All literals shown (750, 300, -123 and 10) are of type 'int', so the results would be, too.
by unwind 5y ago
Certainly not floating point results in C for either of those.
All literals shown (750, 300, -123 and 10) are of type 'int', so the results would be, too.
- banana_giraffe 5y agoYep, I coerced the result to floating point in my harness. If anyone cares to look: https://pastebin.com/7tLrs28V https://pastebin.com/7tLrs28V I'm probably done, it's a mildly interesting side quest, but really, this is just reinforcing that different languages do things differently.