github.com/goplus/llgo@v0.8.3/cl/_testpy/gcd/in.go (about)

     1  package main
     2  
     3  import (
     4  	"github.com/goplus/llgo/c"
     5  	"github.com/goplus/llgo/py"
     6  	"github.com/goplus/llgo/py/math"
     7  )
     8  
     9  func main() {
    10  	x := math.Gcd(py.Long(60), py.Long(20), py.Long(25))
    11  	c.Printf(c.Str("gcd(60, 20, 25) = %d\n"), x.Long())
    12  }