Changeset 2586 in ntrip


Ignore:
Timestamp:
Aug 29, 2010, 8:08:49 PM (14 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnctides.cpp

    r2581 r2586  
    11
    22#include <cmath>
    3 #include <iostream>
    4 #include <iomanip>
    53
    64#include "bnctides.h"
     
    113111
    114112  double M = 2.0*M_PI * Frac ( 0.9931267 + 99.9973583*T);
    115   double L = 2.0*M_PI * Frac ( 0.7859444 + M/2.0*M_PI +
     113  double L = 2.0*M_PI * Frac ( 0.7859444 + M/2.0/M_PI +
    116114                        (6892.0*sin(M)+72.0*sin(2.0*M)) / 1296.0e3);
    117115  double r = 149.619e9 - 2.499e9*cos(M) - 0.021e9*cos(2*M);
Note: See TracChangeset for help on using the changeset viewer.