mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
Force alignment for native calls
This commit is contained in:
parent
33306aa2f5
commit
2aadbaac38
@ -1358,7 +1358,7 @@ divideFloat(uint32_t b, uint32_t a)
|
|||||||
return floatToBits(bitsToFloat(a) / bitsToFloat(b));
|
return floatToBits(bitsToFloat(a) / bitsToFloat(b));
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t
|
uint32_t FORCE_ALIGN
|
||||||
moduloFloat(uint32_t b, uint32_t a)
|
moduloFloat(uint32_t b, uint32_t a)
|
||||||
{
|
{
|
||||||
return floatToBits(fmod(bitsToFloat(a), bitsToFloat(b)));
|
return floatToBits(fmod(bitsToFloat(a), bitsToFloat(b)));
|
||||||
|
Loading…
Reference in New Issue
Block a user