aboutsummaryrefslogtreecommitdiff
path: root/src/msfn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/msfn.cpp')
-rw-r--r--src/msfn.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/msfn.cpp b/src/msfn.cpp
new file mode 100644
index 00000000..999e73a7
--- /dev/null
+++ b/src/msfn.cpp
@@ -0,0 +1,7 @@
+/* determine constant small m */
+#include <math.h>
+#include "projects.h"
+ double
+pj_msfn(double sinphi, double cosphi, double es) {
+ return (cosphi / sqrt (1. - es * sinphi * sinphi));
+}