Code Search for Developers
 
 
  

d_sign.cpp from Oscill8 at Krugle


Show d_sign.cpp syntax highlighted

#include "auto_f2c.h"

#ifdef KR_headers
double d_sign(a,b) doublereal a, b;
#else
double d_sign(doublereal a, doublereal b)
#endif
{
double x;
x = (a >= 0 ? a : - a);
return( b >= 0 ? x : -x);
}




See more files for this project here

Oscill8

Oscill8 is a suite of tools for analyzing dynamical systems which concentrates on understanding how the dynamical behavior depends on the parameters using bifurcation theory and reaction network theory.

Project homepage: http://sourceforge.net/projects/oscill8
Programming language(s): C,C#,C++
License: other

  cabs.cpp
  d_imag.cpp
  d_lg10.cpp
  d_sign.cpp
  i_dnnt.cpp
  i_nint.cpp
  pow_dd.cpp
  pow_di.cpp
  pow_ii.cpp
  r_lg10.cpp
  z_abs.cpp
  z_exp.cpp
  z_log.cpp