6 implementations of CopySign
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
528static byte INumber<byte>.CopySign(byte value, byte sign) => value;
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1415static UInt128 INumber<UInt128>.CopySign(UInt128 value, UInt128 sign) => value;
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
547static ushort INumber<ushort>.CopySign(ushort value, ushort sign) => value;
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
586static uint INumber<uint>.CopySign(uint value, uint sign) => value;
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
585static ulong INumber<ulong>.CopySign(ulong value, ulong sign) => value;
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
588static nuint INumber<nuint>.CopySign(nuint value, nuint sign) => value;
21 references to CopySign
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\TensorOperation.cs (2)
867destination = T.CopySign(x, y); 877destination = T.CopySign(x, y);
System\Numerics\Tensors\netcore\TensorPrimitives.CopySign.cs (1)
60public static T Invoke(T x, T y) => T.CopySign(x, y);
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
527/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1267/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
960/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1654/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1216/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
621/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
662/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
659/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
654/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1253/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
584/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
957/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1414/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
546/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
585/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
584/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
587/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3973/// <inheritdoc cref="INumber{TSelf}.CopySign(TSelf, TSelf)" />