double cos( double x ) /* No need to write the trivial XS wrapper, just the declaration */