Overview
Comment:cmath is preferred to math.h
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: b22e3198623d098cbbee5cfede0596930fed7ad501a7bd8993eb2e9eeae418eb
User & Date: geraint@users.sourceforge.net on 2004-08-09 17:45:56
Other Links: branch diff | manifest | tags
Context
2004-08-09
17:46:52
Declarations of class string prepended with std:: to satisfy g++.
cmath is preferred to math.h
check-in: 01ef22d887 user: geraint@users.sourceforge.net tags: origin/master, trunk
17:45:56
cmath is preferred to math.h check-in: b22e319862 user: geraint@users.sourceforge.net tags: origin/master, trunk
17:44:16
Updated to read recent struct.txt records which contain 6 fields.
Prepended std:: to iostream classes to satisfy g++.
check-in: 105ebebabd user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/cr/hh/squarelaw.hh from [59c9450bf7] to [57afb07876].

1
2
3
4
5
6
7
8
9
10
11
#ifndef SQUARELAW_HH
#define SQUARELAW_HH

#include <math.h>
#include "sign.hh"

inline double squarelaw(const double gain,
			const causality_t causality, const int port,
			const double input, const causality_t in_causality, const int in_port)
  /*
   * implements P = R Q^2



|







1
2
3
4
5
6
7
8
9
10
11
#ifndef SQUARELAW_HH
#define SQUARELAW_HH

#include <cmath
#include "sign.hh"

inline double squarelaw(const double gain,
			const causality_t causality, const int port,
			const double input, const causality_t in_causality, const int in_port)
  /*
   * implements P = R Q^2

Modified mttroot/mtt/lib/cr/hh/staticpressure.hh from [34ed9de7e9] to [036b87bd6c].

1
2
3
4
5
6
7
8
9
10
11
#ifndef STATICPRESSURE_HH
#define STATICPRESSURE_HH

#include <math.h>		// log, pow

#include "constants.hh"

inline double
staticpressure(const double beta,
	       const double C_d,
	       const double d,



|







1
2
3
4
5
6
7
8
9
10
11
#ifndef STATICPRESSURE_HH
#define STATICPRESSURE_HH

#include <cmath>		// log, pow

#include "constants.hh"

inline double
staticpressure(const double beta,
	       const double C_d,
	       const double d,


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]