github.com/goplus/llgo@v0.8.3/py/math/doc.txt (about)

     1  // Unlike the built-in ** operator, math.pow() converts both its arguments to type
     2  // float. Use ** or the built-in pow() function for computing exact integer powers.
     3  //
     4  //go:linkname Pow py.pow
     5  func Pow(x, y *py.Object) *py.Object
     6  
     7  // Return the sine of x radians.
     8  //
     9  //go:linkname Sin py.sin
    10  func Sin(x *py.Object) *py.Object
    11  
    12  // Return the hyperbolic sine of x.
    13  //
    14  //go:linkname Sinh py.sinh
    15  func Sinh(x *py.Object) *py.Object
    16  
    17  // Return the base-2 logarithm of x. This is usually more accurate than log(x, 2).
    18  //
    19  //go:linkname Log2 py.log2
    20  func Log2(x *py.Object) *py.Object
    21  
    22  // Return the base-10 logarithm of x. This is usually more accurate than log(x, 10).
    23  //
    24  //go:linkname Log10 py.log10
    25  func Log10(x *py.Object) *py.Object
    26  
    27  // Return the fractional and integer parts of x. Both results carry the sign of
    28  // x and are floats.
    29  //
    30  //go:linkname Modf py.modf
    31  func Modf(x *py.Object) *py.Object