Math Scalar Library
Programming Reference Manual Fortran
Version 1.1 DD-00003-111

12.5 shavpi - Half-Cycle Haversine hav(πx)

function shavpi (x) 
function shavpif(x)

Given a value x this function computes the half-cycle haversine of x , hav(πx)  .