"Strong typing vs. strong testing"

Ben groups at theyoungfamily.co.uk
Tue Oct 12 06:16:09 EDT 2010


On Oct 12, 8:45 am, torb... at diku.dk (Torben Ægidius Mogensen) wrote:
> Vic Kelson <vic.kel... 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

Angles aren't "true" units, as they are ratios of two lengths. They
are more of a "pseudo" unit.

Ben



More information about the Python-list mailing list