math

package
v0.2.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package math is an internal mathematics helper package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RoundDownToNearestMultiple

func RoundDownToNearestMultiple(value, multiple int) int

RoundDownToNearestMultiple returns the nearest multiple of value.

func Uint32RoundDownToNearestMultiple

func Uint32RoundDownToNearestMultiple(value, multiple uint32) uint32

Uint32RoundDownToNearestMultiple returns the nearest multiple of value (uint32 version).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL