Not is is not wrong it is wright.Because you use not pi but an approximation of pi the result is not zero but an approximation of zero.
Re: Issue with small floating point numbers
Alain De Vos via Digitalmars-d-learn Wed, 12 May 2021 20:50:34 -0700
- Issue with small floating point numbe... Tim via Digitalmars-d-learn
- Re: Issue with small floating po... Alain De Vos via Digitalmars-d-learn
- Re: Issue with small floatin... Tim via Digitalmars-d-learn
- Re: Issue with small flo... Alain De Vos via Digitalmars-d-learn
- Re: Issue with small flo... JG via Digitalmars-d-learn
- Re: Issue with small floating po... Zardoz via Digitalmars-d-learn
- Re: Issue with small floating po... Berni44 via Digitalmars-d-learn