// This is a part of the Object Oriented Mathematical Library
// Copyright (C) 1999-2008 Renishaw plc
//
// This source file is the confidential property of Renishaw plc.
// Reproduction or transmission in whole or in part, in any form or
// by any means, electronic, mechanical or otherwise, is prohibited
// without the prior written consent of the copyright owner.
//
// objvalue.h -- initial values for global variables
// ========================================================================================================================


#ifndef __OBJVALUE_H__
#define __OBJVALUE_H__
// ========================================================================================================================


// 02/12/07 - Global Tolerances changes to constant default values. The tolerances
// will now be retrieved and set using the Get and Set methods defined in objfloat.h

// double precision
double const MaLargeDefault   = 1.0e+300;
double const MaZeroDefault    = 1.0e-300;
double const MaTolDefault     = 4.45e-16;
double const MaSqrtTolDefault = 1.5e-008;

// length
double const MaLengthTolDefault     = 1.0e-012;         // micron-micron
double const MaMinEdgeLengthDefault = 1.0e-09;          // milli-micron

// angle
double const MaDegreeTolDefault = 2.777777777778e-10;   // e-6 second
double const MaRadianTolDefault = 4.848136811094e-12;   // e-6 second
double const MaMinAngleDefault  = 2.777777777778e-08;   // e-4 second

// ========================================================================================================================
// iterations
// Added as part of fix for CCAR 52918. This value will be used as the default iteration
// limit for all Fit methods that might not converge.
const long MaMaxIterations = 200000;//2147483647;

#endif // __OBJVALUE_H__

// ========================================================================================================================
