Added proper mod function.

This commit is contained in:
YourWishes committed 2021-04-03 15:28:48 +11:00
1 parent 93565a9905
commit 9f5fa7722a
4 files changed
+13 -4

No files matched your search

+8
View File
@@ -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