Canoe
Comprehensive Atmosphere N' Ocean Engine
root.c File Reference
#include "root.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Macros

#define MAX_IT   100
 
#define UNLIKELY_VAL   -1.11111e+30
 

Functions

int root (double x1, double x2, double xacc, double *x_root, RootFunction_t func, void *aux)
 

Macro Definition Documentation

◆ MAX_IT

#define MAX_IT   100

Definition at line 1 of file root.c.

◆ UNLIKELY_VAL

#define UNLIKELY_VAL   -1.11111e+30

Definition at line 2 of file root.c.

Function Documentation

◆ root()

int root ( double  x1,
double  x2,
double  xacc,
double *  x_root,
RootFunction_t  func,
void *  aux 
)

Definition at line 10 of file root.c.