Code Search for Developers
 
 
  

i_dnnt.cpp from Oscill8 at Krugle


Show i_dnnt.cpp syntax highlighted

#include "auto_f2c.h"

#ifdef KR_headers
double floor();
integer i_dnnt(x) doublereal *x;
#else
#undef abs
#include "math.h"
integer i_dnnt(doublereal *x)
#endif
{
return (integer)(*x >= 0. ? floor(*x + .5) : -floor(.5 - *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