33 #if defined(ENABLE_JNI_HEADERS)
34 # include "native/include/java_lang_Double.h"
56 #if defined(__IEEE_BYTES_LITTLE_ENDIAN)
61 #define SWAP_DOUBLE(a) (((a) << 32) | (((a) >> 32) & 0x00000000ffffffff))
63 val.j = SWAP_DOUBLE(val.j);
66 e = val.j & 0x7ff0000000000000LL;
67 f = val.j & 0x000fffffffffffffLL;
86 #if defined(__IEEE_BYTES_LITTLE_ENDIAN)
87 val.j = SWAP_DOUBLE(val.j);
Table containing all native methods registered with the VM.
NativeMethods & get_nativemethods()
void register_methods(Utf8String classname, const JNINativeMethod *methods, size_t count)
Register native methods with the VM.
#define NATIVE_METHODS_COUNT
JNIEXPORT jlong JNICALL Java_java_lang_Double_doubleToLongBits(JNIEnv *env, jclass clazz, jdouble doubleValue)
static Utf8String from_utf8(const char *, size_t)
void _Jv_java_lang_Double_init(void)
JNIEXPORT jdouble JNICALL Java_java_lang_Double_longBitsToDouble(JNIEnv *env, jclass clazz, jlong longValue)
static JNINativeMethod methods[]
static VM * get_current()