interface · System

ISignedNumber<TSelf>

public interface ISignedNumber<TSelf : ISignedNumber<TSelf>, plain, left op -(TSelf) : TSelf> : INumber<TSelf>

A number with a sign: negation and minus one. T : snumber. The signed integers and the floats implement it.

Kind
interface
Namespace
System
Assembly
System.Core
Access
public
Source file
Numbers.ant

Type parameters

NameConstraints
TSelfplain, ISignedNumber<TSelf>, operator -

Inheritance

Interfaces
INumber<TSelf>
Implemented by
Float128 Float16 Float256 Float32 Float64 Int128 Int16 Int256 Int32 Int64 Int8

Private and internal members (1)

static TSelf NegativeOne { base get; }
#

private static read-only

The number minus one.

Source

ISignedNumber<TSelf> as Antril, decompiled from its Larva HIR.

System.ISignedNumber.ant
// System.ISignedNumber — System.Core (decompiled from Larva HIR)

into namespace System
{
	/// A number with a sign: negation and minus one. `T : snumber`. The signed integers and the floats implement it.
	public interface ISignedNumber<TSelf : ISignedNumber<TSelf>, plain, left op -(TSelf) : TSelf> : INumber<TSelf>
	{
		/// The number minus one.
		static TSelf NegativeOne { base get; }
	}
}
Esc