dotnet / dotnet/dotnet-api-docs

Documention incorrect for edge cases

Open
#1,890 1 comment 0 reactions 0 assignees View on GitHub
area-System.Runtime dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

The method has different return value for edge between .NET Framework and .NET Core
For instance :
Pow(double.NaN, 0) will return 1 in .Net Core and double.NaN in .NetFramework

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 1877175b-aef3-5358-ac70-7ea02fd96dea
* Version Independent ID: 4df66b7a-6548-866c-afab-19e9a3140342
* Content: [Math.Pow(Double, Double) Method (System)](https://docs.microsoft.com/en-us/dotnet/api/system.math.pow?view=netcore-2.2#System_Math_Pow_System_Double_System_Double_)
* Content Source: [xml/System/Math.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System/Math.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.