We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NativeMath
1 parent 8bea2ef commit 71fef04Copy full SHA for 71fef04
jsoniter-scala-core/native/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core/NativeMath.scala
@@ -1,12 +1,15 @@
1
package com.github.plokhotnyuk.jsoniter_scala.core
2
3
+import scala.scalanative.annotation.alwaysinline
4
import scala.scalanative.unsafe._
5
6
@extern
7
private[core] object NativeMath {
8
+ @alwaysinline
9
@name("jsoniter_scala_multiply_high")
10
def multiplyHigh(x: Long, y: Long): Long = extern
11
12
13
@name("jsoniter_scala_unsigned_multiply_high")
14
def unsignedMultiplyHigh(x: Long, y: Long): Long = extern
15
}
0 commit comments