MCPcopy Create free account
hub / github.com/GRAnimated/MinecraftLCE / floatToIntBits

Method floatToIntBits

src/Minecraft.World/java/io/types/Float.cpp:3–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "java/io/types/Float.h"
2
3inline int Float::floatToIntBits(float value) {
4 return *reinterpret_cast<int*>(&value);
5}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected