MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / frexp

Function frexp

dnn/include/megdnn/dtype/half.hpp:2547–2547  ·  view source on GitHub ↗

Decompress floating point number. \param arg number to decompress \param exp address to store exponent at \return significant in range [0.5, 1) template typename enable ::type frexp(T arg, int *exp) { return functions::frexp(arg, exp); }

Source from the content-addressed store, hash-verified

2545 /// \return significant in range [0.5, 1)
2546// template<typename T> typename enable<half,T>::type frexp(T arg, int *exp) { return functions::frexp(arg, exp); }
2547 MEGDNN_HOST MEGDNN_DEVICE inline half frexp(half arg, int *exp) { return functions::frexp(arg, exp); }
2548 MEGDNN_HOST MEGDNN_DEVICE inline half frexp(expr arg, int *exp) { return functions::frexp(arg, exp); }
2549
2550 /// Multiply by power of two.

Callers 3

float2half_implFunction · 0.70
stbiw__linear_to_rgbeFunction · 0.50
TESTFunction · 0.50

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.40