File: pj_msfn.c

package info (click to toggle)
proj 4.3.3-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 920 kB
  • ctags: 1,335
  • sloc: ansic: 9,295; makefile: 140
file content (9 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
/* determine constant small m */
#ifndef lint
static const char SCCSID[]="@(#)pj_msfn.c	4.3	93/06/12	GIE	REL";
#endif
#include <math.h>
	double
pj_msfn(double sinphi, double cosphi, double es) {
	return (cosphi / sqrt (1. - es * sinphi * sinphi));
}