NCBI C++ ToolKit
Macros | Functions
expr.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/expr.hpp>
#include <math.h>
#include <limits>
+ Include dependency graph for expr.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define BINARY(opd)   (opd >= ePOW)
 

Functions

static Int8 to_int (Int8 m_Val)
 
static double to_float (double m_Val)
 
static Int8 gcd (Int8 x, Int8 y)
 
static Int8 invmod (Int8 x, Int8 y)
 
static Int8 prime (Int8 n)
 
unsigned string_hash_function (const char *p)
 

Macro Definition Documentation

◆ BINARY

#define BINARY (   opd)    (opd >= ePOW)

Definition at line 42 of file expr.cpp.

Function Documentation

◆ gcd()

static Int8 gcd ( Int8  x,
Int8  y 
)
static

◆ invmod()

static Int8 invmod ( Int8  x,
Int8  y 
)
static

Definition at line 305 of file expr.cpp.

References a, b, r(), and t.

Referenced by CExprParser::CExprParser().

◆ prime()

static Int8 prime ( Int8  n)
static

Definition at line 328 of file expr.cpp.

References n.

Referenced by CExprParser::CExprParser(), and CPrimeNumbersJob::Run().

◆ string_hash_function()

unsigned string_hash_function ( const char *  p)

Definition at line 376 of file expr.cpp.

References g().

Referenced by CExprParser::AddSymbol(), and CExprParser::GetSymbol().

◆ to_float()

static double to_float ( double  m_Val)
static

Definition at line 287 of file expr.cpp.

Referenced by CExprParser::CExprParser().

◆ to_int()

static Int8 to_int ( Int8  m_Val)
static

Definition at line 281 of file expr.cpp.

Referenced by CExprParser::CExprParser().

Modified on Mon Jul 15 05:32:01 2024 by modify_doxy.py rev. 669887