"Strong typing vs. strong testing"
Torben Ægidius Mogensen
torbenm at diku.dk
Tue Oct 12 03:45:56 EDT 2010
Vic Kelson <vic.kelson at gmail.com> writes:
> That said, I'm having a hard time thinking of a transcendental
> function that doesn't take a dimensionless argument, e.g. what on
> earth would be the units of ln(4.0 ft)?
Trigonometric functions do take arguments of particular units: radians
or (less often) degrees, with conversion needed if you use the "wrong"
unit.
Torben
More information about the Python-list
mailing list