Int64 class
Revision as of 10:30, 10 September 2020 by Administrator (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=<nowiki>Int64</nowiki> |Description=<nowiki>An equivalent to an Int64. Unlike a Number, this is not invariant</nowiki> |InheritsFrom=object|Cons...")
Int64
An equivalent to an Int64. Unlike a Number, this is not invariant
Parent class
Inherits from object
Constructors
- () - Create a new Int64 with value 0
- (Int64 value "Value to copy") - Copy an Int64
- (int value "Value to copy") - Copy an Int64
Methods
- Empty And(Int64 value "Value to And") - And this with another value
- Empty And(int value "Value to And") - And this with another value
- Empty BitwiseNot() - Inverse value bits
- int CompareTo(Int64 value "Value to compare to") - Compare to object. See ArrayConstant.OrderBy
- int CompareTo(number value "Value to compare to") - Compare to object. See ArrayConstant.OrderBy
- object this[] { get; }(int index "Gets or sets the value of the bit at a specific position in the Int64.") - True if the bit at index is set.
- Empty LeftShift(int value "Number of times to shift") - Shift all bits left
- Empty Or(Int64 value "Value to Or") - Or this with another value
- Empty Or(int value "Value to Or") - Or this with another value
- int PopCount() - Count number of bits set
- Empty RightShift(int value "Number of times to shift") - Shift all bits right
- Empty this[] { set; }(int index "Gets or sets the value of the bit at a specific position in the Int64.", object value "The value to set.") - Set the bit at index to value.
- string ToBaseNString(int numberbase "Base, e.g. 2 for binary") - Format to base N, e.g. 2 is as a list of 0 and 1
- string ToString() - The string representation of the object.
- Empty Xor(Int64 value "Value to Xor") - Xor this with another value
- Empty Xor(int value "Value to Xor") - Xor this with another value
Properties
- string ObjectTypeName { get; } - The name of the type of object.
- (From object) TypeInformation TypeInformation { get; } - Get information about this class.