OpenCV  4.9.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
softfloat.hpp File Reference
#include "cvdef.h"
Include dependency graph for softfloat.hpp:

Classes

struct  cv::softdouble
 
struct  cv::softfloat
 

Namespaces

namespace  cv
 "black box" representation of the file storage associated with a file on disk.
 

Macros

#define softfloat_h   1
 

Functions

softdouble cv::abs (softdouble a)
 
softfloat cv::abs (softfloat a)
 Absolute value.
 
softfloat cv::cbrt (const softfloat &a)
 Cube root.
 
softdouble cv::cos (const softdouble &a)
 Cosine.
 
int cvCeil (const cv::softdouble &a)
 
int cvCeil (const cv::softfloat &a)
 Rounds number up to integer.
 
int cvFloor (const cv::softdouble &a)
 
int cvFloor (const cv::softfloat &a)
 Rounds a number down to integer.
 
int cvRound (const cv::softdouble &a)
 
int cvRound (const cv::softfloat &a)
 Rounds a number to nearest even integer.
 
int64_t cvRound64 (const cv::softdouble &a)
 Rounds a number to nearest even long long integer.
 
int cvTrunc (const cv::softdouble &a)
 
int cvTrunc (const cv::softfloat &a)
 Truncates number to integer with minimum magnitude.
 
softdouble cv::exp (const softdouble &a)
 
softfloat cv::exp (const softfloat &a)
 Exponent.
 
softdouble cv::log (const softdouble &a)
 
softfloat cv::log (const softfloat &a)
 Natural logarithm.
 
softdouble cv::max (const softdouble &a, const softdouble &b)
 
softfloat cv::max (const softfloat &a, const softfloat &b)
 
softdouble cv::min (const softdouble &a, const softdouble &b)
 
softfloat cv::min (const softfloat &a, const softfloat &b)
 Min and Max functions.
 
softdouble cv::mulAdd (const softdouble &a, const softdouble &b, const softdouble &c)
 
softfloat cv::mulAdd (const softfloat &a, const softfloat &b, const softfloat &c)
 Fused Multiplication and Addition.
 
softdouble cv::pow (const softdouble &a, const softdouble &b)
 
softfloat cv::pow (const softfloat &a, const softfloat &b)
 Raising to the power.
 
template<typename _Tp >
static _Tp cv::saturate_cast (softdouble a)
 
template<typename _Tp >
static _Tp cv::saturate_cast (softfloat a)
 Saturate casts.
 
template<>
int64_t cv::saturate_cast< int64_t > (softdouble a)
 
template<>
int64_t cv::saturate_cast< int64_t > (softfloat a)
 
template<>
schar cv::saturate_cast< schar > (softdouble a)
 
template<>
schar cv::saturate_cast< schar > (softfloat a)
 
template<>
short cv::saturate_cast< short > (softdouble a)
 
template<>
short cv::saturate_cast< short > (softfloat a)
 
template<>
uchar cv::saturate_cast< uchar > (softdouble a)
 
template<>
uchar cv::saturate_cast< uchar > (softfloat a)
 
template<>
uint64_t cv::saturate_cast< uint64_t > (softdouble a)
 
template<>
uint64_t cv::saturate_cast< uint64_t > (softfloat a)
 
template<>
unsigned cv::saturate_cast< unsigned > (softdouble a)
 
template<>
unsigned cv::saturate_cast< unsigned > (softfloat a)
 Saturate cast to unsigned integer and unsigned long long integer We intentionally do not clip negative numbers, to make -1 become 0xffffffff etc.
 
template<>
ushort cv::saturate_cast< ushort > (softdouble a)
 
template<>
ushort cv::saturate_cast< ushort > (softfloat a)
 
softdouble cv::sin (const softdouble &a)
 Sine.
 
softdouble cv::sqrt (const softdouble &a)
 
softfloat cv::sqrt (const softfloat &a)
 Square root.
 

Macro Definition Documentation

◆ softfloat_h

#define softfloat_h   1

Function Documentation

◆ cvCeil() [1/2]

int cvCeil ( const cv::softdouble a)

◆ cvCeil() [2/2]

int cvCeil ( const cv::softfloat a)

Rounds number up to integer.

◆ cvFloor() [1/2]

int cvFloor ( const cv::softdouble a)

◆ cvFloor() [2/2]

int cvFloor ( const cv::softfloat a)

Rounds a number down to integer.

◆ cvRound() [1/2]

int cvRound ( const cv::softdouble a)

◆ cvRound() [2/2]

int cvRound ( const cv::softfloat a)

Rounds a number to nearest even integer.

◆ cvRound64()

int64_t cvRound64 ( const cv::softdouble a)

Rounds a number to nearest even long long integer.

◆ cvTrunc() [1/2]

int cvTrunc ( const cv::softdouble a)

◆ cvTrunc() [2/2]

int cvTrunc ( const cv::softfloat a)

Truncates number to integer with minimum magnitude.