go/src/math/big/example_test.go

func ExampleRat_SetString() {}

func ExampleInt_SetString() {}

func ExampleFloat_SetString() {}

func ExampleRat_Scan() {}

func ExampleInt_Scan() {}

func ExampleFloat_Scan() {}

// This example demonstrates how to use big.Int to compute the smallest
// Fibonacci number with 100 decimal digits and to test whether it is prime.
func Example_fibonacci() {}

// This example shows how to use big.Float to compute the square root of 2 with
// a precision of 200 bits, and how to print the result as a decimal number.
func Example_sqrt2() {}