Show / Hide Table of Contents

Struct float8

8 32 bits floats

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Hybridizer.Runtime.CUDAImports
Assembly: Hybridizer.Runtime.CUDAImports.dll
Syntax
[IntrinsicType("float8")]
public struct float8

Constructors

float8(float8)

copy constructor

Declaration
public float8(float8 res)
Parameters
Type Name Description
float8 res

float8(Single, Single, Single, Single, Single, Single, Single, Single)

constructor from components

Declaration
public float8(float xx, float yy, float zz, float ww, float xx2, float yy2, float zz2, float ww2)
Parameters
Type Name Description
System.Single xx
System.Single yy
System.Single zz
System.Single ww
System.Single xx2
System.Single yy2
System.Single zz2
System.Single ww2

Fields

w

w

Declaration
public float w
Field Value
Type Description
System.Single

w2

w2

Declaration
public float w2
Field Value
Type Description
System.Single

x

x

Declaration
public float x
Field Value
Type Description
System.Single

x2

x2

Declaration
public float x2
Field Value
Type Description
System.Single

y

y

Declaration
public float y
Field Value
Type Description
System.Single

y2

y2

Declaration
public float y2
Field Value
Type Description
System.Single

z

z

Declaration
public float z
Field Value
Type Description
System.Single

z2

z2

Declaration
public float z2
Field Value
Type Description
System.Single

Methods

Load(float8*, Int32)

loads from memory

Declaration
[IntrinsicFunction(IsNaked = true, Name = "__hybridizer_load_float8")]
public static float8 Load(float8*ptr, int alignment)
Parameters
Type Name Description
float8* ptr
System.Int32 alignment

has to be a compile time constant

Returns
Type Description
float8

Select(bool8, float8, float8)

selects components from l or r, depending on mask value

Declaration
[IntrinsicFunction(IsNaked = true, Name = "hybridizer::select<float8>")]
public static float8 Select(bool8 mask, float8 l, float8 r)
Parameters
Type Name Description
bool8 mask
float8 l
float8 r
Returns
Type Description
float8

Store(float8*, float8, Int32)

stores in memory

Declaration
[IntrinsicFunction(IsNaked = true, Name = "__hybridizer_store_float8")]
public static void Store(float8*ptr, float8 val, int alignment)
Parameters
Type Name Description
float8* ptr

destination pointer

float8 val

value to store

System.Int32 alignment

has to be a compile time constant

Operators

Addition(float8, float8)

addition operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator+")]
public static float8 operator +(float8 a, float8 b)
Parameters
Type Name Description
float8 a
float8 b
Returns
Type Description
float8

Addition(float8, Single)

addition operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator+")]
public static float8 operator +(float8 a, float b)
Parameters
Type Name Description
float8 a
System.Single b
Returns
Type Description
float8

Addition(Single, float8)

addition operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator+")]
public static float8 operator +(float a, float8 b)
Parameters
Type Name Description
System.Single a
float8 b
Returns
Type Description
float8

Division(float8, float8)

division operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator/")]
public static float8 operator /(float8 a, float8 b)
Parameters
Type Name Description
float8 a
float8 b
Returns
Type Description
float8

Division(float8, Single)

division operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator/")]
public static float8 operator /(float8 a, float b)
Parameters
Type Name Description
float8 a
System.Single b
Returns
Type Description
float8

Division(Single, float8)

division operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator/")]
public static float8 operator /(float a, float8 b)
Parameters
Type Name Description
System.Single a
float8 b
Returns
Type Description
float8

GreaterThan(float8, float8)

strict greater operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator>")]
public static bool8 operator>(float8 l, float8 r)
Parameters
Type Name Description
float8 l
float8 r
Returns
Type Description
bool8

GreaterThan(float8, Single)

strict greater operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator>")]
public static bool8 operator>(float8 l, float r)
Parameters
Type Name Description
float8 l
System.Single r
Returns
Type Description
bool8

GreaterThanOrEqual(float8, float8)

greater or equal operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator>=")]
public static bool8 operator >=(float8 l, float8 r)
Parameters
Type Name Description
float8 l
float8 r
Returns
Type Description
bool8

LessThan(float8, float8)

strict less operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator<")]
public static bool8 operator <(float8 l, float8 r)
Parameters
Type Name Description
float8 l
float8 r
Returns
Type Description
bool8

LessThan(float8, Single)

strict less operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator>")]
public static bool8 operator <(float8 l, float r)
Parameters
Type Name Description
float8 l
System.Single r
Returns
Type Description
bool8

LessThanOrEqual(float8, float8)

less or equal operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator<=")]
public static bool8 operator <=(float8 l, float8 r)
Parameters
Type Name Description
float8 l
float8 r
Returns
Type Description
bool8

Multiply(float8, float8)

multiplication operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator*")]
public static float8 operator *(float8 a, float8 b)
Parameters
Type Name Description
float8 a
float8 b
Returns
Type Description
float8

Multiply(float8, Single)

multiplication operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator*")]
public static float8 operator *(float8 a, float b)
Parameters
Type Name Description
float8 a
System.Single b
Returns
Type Description
float8

Multiply(Single, float8)

multiplication operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator*")]
public static float8 operator *(float a, float8 b)
Parameters
Type Name Description
System.Single a
float8 b
Returns
Type Description
float8

Subtraction(float8, float8)

substraction operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator-")]
public static float8 operator -(float8 a, float8 b)
Parameters
Type Name Description
float8 a
float8 b
Returns
Type Description
float8

Subtraction(float8, Single)

substraction operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator-")]
public static float8 operator -(float8 a, float b)
Parameters
Type Name Description
float8 a
System.Single b
Returns
Type Description
float8

Subtraction(Single, float8)

substraction operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator-")]
public static float8 operator -(float a, float8 b)
Parameters
Type Name Description
System.Single a
float8 b
Returns
Type Description
float8
Back to top Generated by DocFX