package
Version:
v0.0.0-...-7eebb46
Opens a new window with list of versions in this module.
Published: Dec 19, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package ch13ex01 provides a deep equivalence relation that considers numbers
of any type equal if they differ by less than one part in a billion.
func Equal(x, y interface{}) bool
Equal reports whether x and y are deeply equal, considering numbers of any
type to be equal if they differ by less than one billionth.
Map keys are always compared with ==, not deeply. (This matters for keys
containing pointers or interfaces.)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.