/Proj4/pj_msfn.c
http://github.com/route-me/route-me · C · 10 lines · 9 code · 0 blank · 1 comment · 0 complexity · cf9885e461600a9f36224526df2be6b1 MD5 · raw file
- /* 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));
- }