1 |
– |
/* Copyright (c) 1993 Regents of the University of California */ |
2 |
– |
|
1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
6 |
– |
|
4 |
|
/***************************************************************************** |
5 |
|
This program is to make series of right triangles forming hyperbolic cosin |
6 |
|
(ie, cosh) curve in between of 2 points. |
25 |
|
******************************************************************************/ |
26 |
|
|
27 |
|
#include <stdio.h> |
28 |
+ |
#include <stdlib.h> |
29 |
|
#include <math.h> |
32 |
– |
|
33 |
– |
#ifdef DCL_ATOF |
34 |
– |
extern double atof(); |
35 |
– |
#endif |
30 |
|
|
31 |
|
char *cmtype, *cname; |
32 |
|
double z0, z1; |