cl: collectSkipNames; processPkg bugfix

This commit is contained in:
xushiwei
2024-06-15 14:56:03 +08:00
parent 7d8bed16b0
commit 994502077a
4 changed files with 52 additions and 23 deletions

View File

@@ -16,6 +16,7 @@
package math
// llgo:skip sin cos
import (
_ "unsafe"
@@ -173,13 +174,6 @@ func Nextafter(x, y float64) float64
//go:linkname Pow C.pow
func Pow(x, y float64) float64
//go:linkname cPow10 C.pow10
func cPow10(x c.Int) float64
func Pow10(x int) float64 {
return cPow10(c.Int(x))
}
//go:linkname Remainder C.remainder
func Remainder(x, y float64) float64