aboutsummaryrefslogtreecommitdiff
path: root/src/pj_msfn.c
blob: ea6e3cd2180d461300890f6ac7dd434c2cd00ab9 (plain)
1
2
3
4
5
6
7
8
9
10
/* determine constant small m */
#ifndef lint
static const char SCCSID[]="@(#)pj_msfn.c	4.3	93/06/12	GIE	REL";
#endif
#include <math.h>
#include <projects.h>
	double
pj_msfn(double sinphi, double cosphi, double es) {
	return (cosphi / sqrt (1. - es * sinphi * sinphi));
}