Hacker News new | ask | show | jobs
by geysersam 948 days ago
If the value passed to the function isn't dimensionless there's very likely a unit error somewhere.

I can't come up with an example where that would be a reasonable thing to do, but haven't thought too much about it.