This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
A question about ApproximateFactorial
#571
Labels
good first issue
Good for newcomers
Kind-Bug
Something isn't working
Pkg-Standard
Issue relates to the Microsoft.Quantum.Standard package.
tracking
This label will trigger gh-sync to create or update a mirror internal ADO issue.
Description
When using
ApproximateFactorial
,a negative value for parameter will lead to following error.But the document does not mention the negative value will not work.Here is the description in page https://docs.microsoft.com/en-us/qsharp/api/qsharp/microsoft.quantum.math.approximatefactorial
In my view,a negative value smaller than -170.0 will be work,please tell me is this right?
Testcase
Environment
operating system:
Windows 10dotnet version:
5.0.301QDK:
v0.24.201332The text was updated successfully, but these errors were encountered: