this post was submitted on 12 Aug 2023
751 points (96.3% liked)

Programmer Humor

32600 readers
76 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
[–] [email protected] 13 points 1 year ago (1 children)
[–] [email protected] 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.