C-minor v0.0

CompileTimeOperators.op_UnaryNegation Method

Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor
Declaring Type: CompileTimeOperators

Overloads

op_UnaryNegation(int)
op_UnaryNegation(long)
op_UnaryNegation(float)
op_UnaryNegation(double)

op_UnaryNegation(int)

public static int op_UnaryNegation(int value);

Parameters

int value

Returns

int

op_UnaryNegation(long)

public static long op_UnaryNegation(long value);

Parameters

long value

Returns

long

op_UnaryNegation(float)

public static float op_UnaryNegation(float value);

Parameters

float value

Returns

float

op_UnaryNegation(double)

public static double op_UnaryNegation(double value);

Parameters

double value

Returns

double