this post was submitted on 12 Aug 2023
766 points (96.5% liked)

Programmer Humor

31224 readers
51 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 10 months ago (1 children)
[–] [email protected] 2 points 10 months 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 10 months ago

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