Source File
math.go
Belonging Package
go101.org/nstd
package nstd// Scale scales a Real value to (x * s).//// An example: Scale(time.Duration, 0.1)//// See: https://github.com/golang/go/issues/75265func [, Real]( , ) {return (float64() * float64())}// Scale scales a Real value to (x * s1 / s2).func [, Real]( , , ) {return (float64() * float64() / float64())}
![]() |
The pages are generated with Golds v0.8.3-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |