Skip to content
Permalink
15afd54dd3
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
24 lines (19 sloc) 381 Bytes
#pragma once
#ifndef SQRT
#define SQRT
#include <iostream>
#include <stdint.h>
#include <stdlib.h>
#define NEWTON_EQ
#define NEWTON_DERIVATIVE
typedef struct
{
static double TOLERANCE;
static double ERROR;
static double RESULT;
static double LATEST_RESULT;
static double RESULT;
static int MAX_ITERATION;
static int ITERATION;
} NEWTON;
#endif