mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-02 14:25:59 +02:00
Added IOpMultiplicable and IOpDividable, fixed Double not implementing IOpAddable and IOpSubtractable
This commit is contained in:
parent
5d9a5f183d
commit
862c15241a
13 changed files with 151 additions and 11 deletions
|
@ -48,6 +48,16 @@ namespace System
|
|||
static Self operator-(Self lhs, Self rhs);
|
||||
}
|
||||
|
||||
interface IOpMultiplicable
|
||||
{
|
||||
static Self operator*(Self lhs, Self rhs);
|
||||
}
|
||||
|
||||
interface IOpDividable
|
||||
{
|
||||
static Self operator/(Self lhs, Self rhs);
|
||||
}
|
||||
|
||||
interface IOpNegatable
|
||||
{
|
||||
static Self operator-(Self value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue