-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: add XSH_RS, XSH_RR, and RXS_M_XS output functions (#116)
- Loading branch information
Showing
5 changed files
with
83 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
import Long from 'long' | ||
import { StreamScheme, OutputFnType } from './types' | ||
|
||
// export const pcgDefaultIncrement8 = 77; | ||
// export const pcgDefaultIncrement16 = 47989; | ||
// export const pcgDefaultIncrement32 = 2891336453; | ||
export const pcgDefaultIncrement64 = Long.fromString('1442695040888963407', true) | ||
// export const pcgDefaultIncrement8 = 77 | ||
// export const pcgDefaultIncrement16 = 47989 | ||
// export const pcgDefaultIncrement32 = Long.fromString('2891336453', 10) | ||
export const pcgDefaultIncrement64 = Long.fromString('1442695040888963407', 10) | ||
|
||
// export const pcgDefaultMultiplier8 = 141; | ||
// export const pcgDefaultMultiplier16 = 12829; | ||
// export const pcgDefaultMultiplier32 = 747796405; | ||
export const pcgDefaultMultiplier64 = Long.fromString('6364136223846793005', true) | ||
// export const pcgDefaultMultiplier8 = 141 | ||
// export const pcgDefaultMultiplier16 = 12829 | ||
// export const pcgDefaultMultiplier32 = Long.fromString('747796405') | ||
export const pcgDefaultMultiplier64 = Long.fromString('6364136223846793005', 10) | ||
|
||
export const pcgDefaultOutputFnType: OutputFnType = OutputFnType.XSH_RR | ||
export const pcgDefaultStreamScheme: StreamScheme = StreamScheme.SETSEQ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters