(merge from head) same as for acos.hpp: fixed license reference text; slight changes to comments to avoid spurious inspect tool warnings