~ubuntu-branches/ubuntu/wily/grass/wily

« back to all changes in this revision

Viewing changes to imagery/i.atcorr/common.h

Tags: 7.0.0~rc1+ds1-1~exp1
* New upstream release candidate.
* Repack upstream tarball, remove precompiled Python objects.
* Add upstream metadata.
* Update gbp.conf and Vcs-Git URL to use the experimental branch.
* Update watch file for GRASS 7.0.
* Drop build dependencies for Tcl/Tk, add build dependencies:
  python-numpy, libnetcdf-dev, netcdf-bin, libblas-dev, liblapack-dev
* Update Vcs-Browser URL to use cgit instead of gitweb.
* Update paths to use grass70.
* Add configure options: --with-netcdf, --with-blas, --with-lapack,
  remove --with-tcltk-includes.
* Update patches for GRASS 7.
* Update copyright file, changes:
  - Update copyright years
  - Group files by license
  - Remove unused license sections
* Add patches for various typos.
* Fix desktop file with patch instead of d/rules.
* Use minimal dh rules.
* Bump Standards-Version to 3.9.6, no changes.
* Use dpkg-maintscript-helper to replace directories with symlinks.
  (closes: #776349)
* Update my email to use @debian.org address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
/* Includes */
5
5
#include <stdio.h>
6
6
#include <stdlib.h>
7
 
#include <iostream>
 
7
#include <iostream> /* ??? */
8
8
#include <fstream>
9
9
#include <string>
10
10
#include <cmath>
11
11
#include <limits>
12
12
#include <iomanip>
13
 
#include "Output.h"
14
 
using namespace std;
 
13
 
 
14
using std::string;
 
15
 
 
16
using std::ios;
 
17
using std::ifstream;
 
18
using std::ofstream;
 
19
using std::ostringstream;
 
20
using std::cin;
 
21
using std::cout;
 
22
using std::cerr;
 
23
using std::endl;
 
24
using std::setprecision;
 
25
using std::setw;
 
26
using std::ends;
 
27
 
 
28
using std::numeric_limits;
 
29
 
 
30
#include "output.h"
 
31
 
15
32
 
16
33
#ifndef M_PI
17
34
#define M_PI 3.1415926535897932384626433832795
18
35
#endif /* M_PI */
19
36
#define M_PI2 6.283185307179586476925286766559
20
 
#define MIN(X,Y) ((X) <= (Y) ? (X) : (Y))
21
 
#define ROUND(X) ((X) - (int)(X) < 0.5 ? (int)(X) : (int)((X)+1))
22
37
 
23
38
const long int nt       = 26;
24
39