40 references to Epsilon
GenerateDocumentationAndConfigFiles (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
82
{ float.
Epsilon
, nameof(float.
Epsilon
) },
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\RequestDelegateCreationTests.SpecialTypes.cs (1)
187
["float", "float.Epsilon", float.
Epsilon
, true],
Microsoft.CodeAnalysis.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
82
{ float.
Epsilon
, nameof(float.
Epsilon
) },
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
82
{ float.
Epsilon
, nameof(float.
Epsilon
) },
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
82
{ float.
Epsilon
, nameof(float.
Epsilon
) },
Microsoft.CodeAnalysis.CSharp (2)
Utilities\ValueSetFactory.SingleTC.cs (2)
37
return float.
Epsilon
;
40
if (value == -float.
Epsilon
)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Utilities\ValueSetTests.cs (2)
331
Assert.Equal(FormattableString.Invariant($"[-Inf..{-float.
Epsilon
:G9}]"), lt.ToString());
333
Assert.Equal(FormattableString.Invariant($"[{float.
Epsilon
:G9}..Inf]"), gt.ToString());
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
88
VerifySyntax<MemberAccessExpressionSyntax>(Generator.LiteralExpression(float.
Epsilon
), "global::System.Single.Epsilon");
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
82
{ float.
Epsilon
, nameof(float.
Epsilon
) },
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
82
{ float.
Epsilon
, nameof(float.
Epsilon
) },
Microsoft.ML.Data (3)
Transforms\NormalizeColumnSng.cs (3)
1187
if (Stddev <= TFloat.
Epsilon
)
1276
if (sigma > TFloat.
Epsilon
)
1292
if (sigma > TFloat.
Epsilon
)
Microsoft.ML.KMeansClustering (1)
KMeansPlusPlusTrainer.cs (1)
1630
weight = float.
Epsilon
;
Microsoft.ML.StandardTrainers (2)
Optimizer\Optimizer.cs (1)
447
alpha = float.
Epsilon
; // Robust to divisional underflow.
Standard\SdcaBinary.cs (1)
1933
ConvergenceTolerance = float.
Epsilon
;
Microsoft.ML.TestFramework (1)
DataPipe\TestDataPipe.cs (1)
24
Single.MaxValue, Single.
Epsilon
, Single.NegativeInfinity, Single.PositiveInfinity };
Roslyn.Diagnostics.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
82
{ float.
Epsilon
, nameof(float.
Epsilon
) },
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\MathF.cs (2)
67
return -float.
Epsilon
;
99
return float.
Epsilon
;
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix3x2.Impl.cs (1)
358
if (float.Abs(det) < float.
Epsilon
)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (2)
1287
if (float.Abs(det) < float.
Epsilon
)
1425
if (float.Abs(det) < float.
Epsilon
)
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.cs (1)
89
get => Create(float.
Epsilon
);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.cs (1)
102
get => Create(float.
Epsilon
);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector4.cs (3)
113
/// <summary>Gets a vector whose elements are equal to <see cref="float.
Epsilon
" />.</summary>
114
/// <value>A vector whose elements are equal to <see cref="float.
Epsilon
" /> (that is, it returns the vector <c>Create(float.Epsilon)</c>).</value>
118
get => Create(float.
Epsilon
);
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
789
static float IFloatingPointIeee754<float>.Epsilon =>
Epsilon
;
Text.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
82
{ float.
Epsilon
, nameof(float.
Epsilon
) },