MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / GetFloat

Function GetFloat

rapidjson/document.h:1707–1709  ·  view source on GitHub ↗

Get the value as float type. ! \note If the value is 64-bit integer type, it may lose precision. Use \c IsLosslessFloat() to check whether the converison is lossless. */

Source from the content-addressed store, hash-verified

1705 /*! \note If the value is 64-bit integer type, it may lose precision. Use \c IsLosslessFloat() to check whether the converison is lossless.
1706 */
1707 float GetFloat() const {
1708 return static_cast<float>(GetDouble());
1709 }
1710
1711 GenericValue& SetInt(int i) { this->~GenericValue(); new (this) GenericValue(i); return *this; }
1712 GenericValue& SetUint(unsigned u) { this->~GenericValue(); new (this) GenericValue(u); return *this; }

Callers

nothing calls this directly

Calls 1

GetDoubleFunction · 0.85

Tested by

no test coverage detected