mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
implement JVM_isNaN
This method was previously unimplemented and untested. However, the JMH benchmark suite requires it, so now it's time to implement it.
This commit is contained in:
parent
fa2ab168ce
commit
69d9ab004a
@ -3493,9 +3493,9 @@ extern "C" AVIAN_EXPORT jboolean JNICALL
|
|||||||
return version <= JNI_VERSION_1_6;
|
return version <= JNI_VERSION_1_6;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" AVIAN_EXPORT jboolean JNICALL EXPORT(JVM_IsNaN)(jdouble)
|
extern "C" AVIAN_EXPORT jboolean JNICALL EXPORT(JVM_IsNaN)(jdouble v)
|
||||||
{
|
{
|
||||||
abort();
|
return isnan(v);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t jvmFillInStackTrace(Thread* t, uintptr_t* arguments)
|
uint64_t jvmFillInStackTrace(Thread* t, uintptr_t* arguments)
|
||||||
|
Loading…
Reference in New Issue
Block a user