Added proper mod function.
This commit is contained in:
1 parent
93565a9905
commit
9f5fa7722a
4 files changed
+13
-4
No files matched your search
@@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2021 Dominic Masters
|
||||
//
|
||||
// This software is released under the MIT License.
|
||||
// https://opensource.org/licenses/MIT
|
||||
|
||||
#pragma once
|
||||
|
||||
#define mod(a,b) (a%b+b)%b
|
||||
Reference in new issue
Block a user