template <class X> typename sqrt_functor<X>::result_type sqrt(X const&) ;
The reason glas has its own sqrt
function is because
of the extensibility through the use of the sqrt_functor<X>()(x) for
which sqrt(X)
is just a shortcut.
double d ; d = glas::sqrt(d) ;
Parameter | Description | Default |
X | type of argument and result |