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

Function frexp

dnn/include/megdnn/dtype/bfloat16.hpp:2331–2333  ·  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

2329// template<typename T> typename enable<bfloat16,T>::type frexp(T
2330// arg, int *exp) { return functions::frexp(arg, exp); }
2331MEGDNN_HOST MEGDNN_DEVICE inline bfloat16 frexp(bfloat16 arg, int* exp) {
2332 return functions::frexp(arg, exp);
2333}
2334MEGDNN_HOST MEGDNN_DEVICE inline bfloat16 frexp(expr arg, int* exp) {
2335 return functions::frexp(arg, exp);
2336}

Callers 1

frexpMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected