The FAQ entry on homogeneous systems asks the reader to consider the
following:
cout << sin(asin(180.0 * degrees));
There are two problems with this:
1. It won't compile because asin does not take an angle.
2. Even with the order of asin and sin swapped, the example is
confusing because it isn't clear if the results should be
180 degrees, or 0 degrees.
Improve the explanation by swapping sin and asin and using 90 degrees.
|
||
|---|---|---|
| .. | ||
| Jamfile.v2 | ||
| units.qbk | ||