Last change
on this file since 209 was
209,
checked in by vondreele, 13 years ago
|
fortran fixes - new self contained libraries
had to change all INCLUDE copyright lines.
|
File size:
416 bytes
|
Line | |
---|
1 | REAL*4 FUNCTION COSD(ARG) |
---|
2 | |
---|
3 | !PURPOSE: Calculate cosine from angle in deg. |
---|
4 | |
---|
5 | INCLUDE 'INCLDS/COPYRIGT.FOR' |
---|
6 | |
---|
7 | !CALLING ARGUMENTS: |
---|
8 | |
---|
9 | REAL*4 ARG !Cosine argument in degrees |
---|
10 | |
---|
11 | !INCLUDE STATEMENTS: |
---|
12 | |
---|
13 | !LOCAL VARIABLES: |
---|
14 | |
---|
15 | !FUNCTION DEFINITIONS: |
---|
16 | |
---|
17 | !DATA STATEMENTS: |
---|
18 | |
---|
19 | DATA RPD/0.017453292519943/ |
---|
20 | |
---|
21 | !CODE: |
---|
22 | |
---|
23 | COSD = COS(ARG*RPD) |
---|
24 | RETURN |
---|
25 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.