MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / flooredDivision

Method flooredDivision

packages/alphatab/src/model/ModelUtils.ts:729–731  ·  view source on GitHub ↗

* @internal

(a: number, b: number)

Source from the content-addressed store, hash-verified

727 * @internal
728 */
729 public static flooredDivision(a: number, b: number): number {
730 return a - b * Math.floor(a / b);
731 }
732
733 // NOTE: haven't figured out yet what exact formula is applied when transposing key signatures
734 // this table is simply created by checking the Guitar Pro behavior,

Callers 3

_parseTransposeMethod · 0.80
resolveSpellingMethod · 0.80
_writeMasterBarNodeMethod · 0.80

Calls 1

floorMethod · 0.80

Tested by

no test coverage detected