Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qnumeric.cpp File Reference

(d3f8d7fd4140b269532e2daca8eb5cbfe28ed465)

#include "qnumeric.h"
#include "qnumeric_p.h"
#include <string.h>
+ Include dependency graph for qnumeric.cpp:

Go to the source code of this file.

Namespaces

namespace  QtNumericTests
 

Functions

Q_CORE_EXPORT int qFpClassify (double val)
 
Q_CORE_EXPORT int qFpClassify (float val)
 
static quint32 f2i (float f)
 
static quint64 d2i (double d)
 

Variables

template<typename T >
static constexpr T QtNumericTests::max = std::numeric_limits<T>::max()
 
template<typename T >
static constexpr T QtNumericTests::min = std::numeric_limits<T>::min()
 

Function Documentation

◆ d2i()

static quint64 d2i ( double d)
inlinestatic

Definition at line 178 of file qnumeric.cpp.

References d, and i.

◆ f2i()

static quint32 f2i ( float f)
inlinestatic

Definition at line 105 of file qnumeric.cpp.

References i.

◆ qFpClassify() [1/2]

int qFpClassify ( double val)

Definition at line 98 of file qnumeric.cpp.

References qt_fpclassify().

+ Here is the call graph for this function:

◆ qFpClassify() [2/2]

Q_CORE_EXPORT int qFpClassify ( float val)

Definition at line 99 of file qnumeric.cpp.

References qt_fpclassify().

+ Here is the call graph for this function: