github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/math/big/hilbert_test.go (about) 1 // Copyright 2009 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // A little test program and benchmark for rational arithmetics. 6 // Computes a Hilbert matrix, its inverse, multiplies them 7 // and verifies that the product is the identity matrix. 8 9 package big