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

Programmer Humor

32453 readers
363 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@sh.itjust.works 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?

[โ€“] knobbysideup@lemm.ee 1 points 1 year ago

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