this post was submitted on 12 Aug 2023
764 points (96.4% liked)

Programmer Humor

32371 readers
578 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
[โ€“] OrangeXarot 2 points 1 year ago (1 children)

I checked the manual to see what the -l switch does and it says you can choose the math library you want to use? in what cases should I use it?

[โ€“] [email protected] 1 points 1 year ago

without -l, default behavior is integer results. Probably not what you want in most calculations.