On the continuing quest for speed, the new and improved cos :-
BigNumber cose (const BigNumber x, BigNumber precision)
{
const BigNumber pidiv2
("1.5707963267948966192313216916397514420985846996875529104874722961539082031431");
return (sine((x+pidiv2) , precision ));
} // end of function cose
Cheers, G