/*- * Copyright (c) 1982 The Regents of the University of California. * All rights reserved. * * %sccs.include.redist.c% */ #ifndef lint static char sccsid[] = "@(#)SIN.c 1.3 (Berkeley) 04/09/90"; #endif /* not lint */ #include extern int errno; double SIN(value) double value; { double result; errno = 0; result = sin(value); if (errno != 0) { ERROR("Cannot compute sin(%e)\n", value); } return result; }