14 lines
235 B
Go
14 lines
235 B
Go
package asm
|
|
|
|
type RoundingMode uint8
|
|
|
|
const (
|
|
RoundingModeToNearest = RoundingMode(iota)
|
|
RoundingModeToNegative
|
|
RoundingModeToPositive
|
|
RoundingModeToZero
|
|
)
|
|
|
|
func SetRoundingMode(mode RoundingMode) {
|
|
setRoundingMode(uint8(mode))
|
|
}
|