Documentation ¶
Overview ¶
Package fp implements floating-point arithmetic operations for the Oberon RISC emulator.
See http://people.inf.ethz.ch/wirth/ProjectOberon/PO.Computer.pdf section 16.3. "Floating-point arithmetic".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IdivResult ¶
type IdivResult struct {
Quot, Rem uint32
}
func Idiv ¶
func Idiv(x, y uint32, signedDiv bool) IdivResult
Directories ¶
Path | Synopsis |
---|---|
numbers
Command numbers generates a Go file containing a slice of uint32 numbers as test input for the Oberon RISC emulator's floating-point arithmetic operations.
|
Command numbers generates a Go file containing a slice of uint32 numbers as test input for the Oberon RISC emulator's floating-point arithmetic operations. |
v2go
Command v2go translates Verilog source code to Go.
|
Command v2go translates Verilog source code to Go. |
Click to show internal directories.
Click to hide internal directories.