|
|
1.1 root 1: /* Copyright (c) 1979 Regents of the University of California */
2:
3: static char sccsid[] = "@(#)SQRT.c 1.1 10/29/80";
4:
5: #include "h01errs.h"
6:
7: double
8: SQRT(value)
9:
10: double value;
11: {
12: if (value <= 0) {
13: ERROR(ESQRT, value);
14: return;
15: }
16: return sqrt(value);
17: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.