~ubuntu-branches/ubuntu/precise/stellarium/precise

« back to all changes in this revision

Viewing changes to src/planetsephems/elp82b.c

  • Committer: Bazaar Package Importer
  • Author(s): Cédric Delfosse
  • Date: 2009-03-13 20:07:22 UTC
  • mfrom: (1.1.8 upstream) (4.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090313200722-l66s4zy2s3e8up0s
Tags: 0.10.2-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
152973
152973
  80,
152974
152974
  0,
152975
152975
  2,
152976
 
  0xFE,
152977
 
  0xFE,
 
152976
  0xFE,
 
152977
  0xFE,
152978
152978
  0+16*2,
152979
152979
  89,
152980
152980
  0,
152992
152992
  0+16*1,
152993
152993
  82,
152994
152994
  0,
152995
 
  0xFE,
152996
 
  0xFE,
152997
 
  0xFE,
 
152995
  0xFE,
 
152996
  0xFE,
 
152997
  0xFE,
152998
152998
  0+16*2,
152999
152999
  65,
153000
153000
  0,
153003
153003
  89,
153004
153004
  0,
153005
153005
  2,
153006
 
  0xFE,
153007
 
  0xFE,
 
153006
  0xFE,
 
153007
  0xFE,
153008
153008
  0+16*2,
153009
153009
  81,
153010
153010
  0,
153023
153023
  89,
153024
153024
  0,
153025
153025
  2,
153026
 
  0xFE,
153027
 
  0xFE,
 
153026
  0xFE,
 
153027
  0xFE,
153028
153028
  0+16*2,
153029
153029
  80,
153030
153030
  0,
162749
162749
    const double pwqw = 2.0 * pw * qw;
162750
162750
    const double pw2 = 1.0 - 2.0 * pwq;
162751
162751
    const double qw2 = 1.0 - 2.0 * qwq;
162752
 
    const double ra = 2.0 * sqrt(1.0 - pwq - qwq);
 
162752
    const double h = 1.0 - pwq - qwq;
 
162753
    const double ra = (h > 0.0) ? (2.0 * sqrt(h)) : 0.0;
162753
162754
    pw *= ra;
162754
162755
    qw *= ra;
162755
162756