Boost logo

Boost Users :

Subject: Re: [Boost-users] Using atan2 in boost::units
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-01-04 14:18:09


AMDG

Matthias Schabel wrote:
> I think we should probably have functions that return angles default to radians if not otherwise specified in the system. To my mind, that is consistent with the principle of least surprise and is consistent with existing library functionality... While the above solution should work and is consistent, it requires more understanding of Boost.Units than should be necessary for simple use of inverse trigonometric functions.
>

Yeah. That makes sense.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net