Re: exponential errors

2023-05-08 Thread anonymouse via Digitalmars-d-announce
On Monday, 8 May 2023 at 10:24:53 UTC, Dennis wrote: It has been fixed, but you'll need to update to 2.104.0 which is currently in beta. Confirmed. installed 2.104.0-beta.1 and everything's now back to normal. Thank you. -- anonymouse

Re: exponential errors

2023-05-08 Thread Dennis via Digitalmars-d-announce
On Monday, 8 May 2023 at 05:01:44 UTC, anonymouse wrote: This is a macOS issue. Don't know if it's specific to Ventura but I just loaded up a Debian VM and it runs as expected. Indeed. Apparently Apple changed their floating point parsing function in their C runtime library, causing dmd to

Re: exponential errors

2023-05-07 Thread anonymouse via Digitalmars-d-announce
On Monday, 8 May 2023 at 04:31:37 UTC, anonymouse wrote: As for the version of D I'm using, according to ```dmd --version``` it is none other than DMD64 D Compiler v2.103.0 Not sure if it makes a difference but I'm using MacOS Ventura. This is a macOS issue. Don't know if it's specific to

Re: exponential errors

2023-05-07 Thread anonymouse via Digitalmars-d-announce
On Monday, 8 May 2023 at 04:31:37 UTC, anonymouse wrote: ``` As for the version of D I'm using, according to ```dmd --version``` it is none other than DMD64 D Compiler v2.103.0 Not sure if it makes a difference but I'm using MacOS Ventura. Removed and install v2.103.1, but experiencing

Re: exponential errors

2023-05-07 Thread anonymouse via Digitalmars-d-announce
On Monday, 8 May 2023 at 04:13:11 UTC, NonNull wrote: On Monday, 8 May 2023 at 03:22:02 UTC, anonymouse wrote: Never thought I'd have to do this but, in Python: ```Python pow(1/2, 3) ``` output: ``` 0.125 ``` in D: ```D import std.stdio; void main() { writeln((1/2)^^3); } Using DMD64 D

Re: exponential errors

2023-05-07 Thread NonNull via Digitalmars-d-announce
On Monday, 8 May 2023 at 03:22:02 UTC, anonymouse wrote: Never thought I'd have to do this but, in Python: ```Python pow(1/2, 3) ``` output: ``` 0.125 ``` in D: ```D import std.stdio; void main() { writeln((1/2)^^3); } Using DMD64 D Compiler v2.103.0: The above program ran and output

Re: exponential errors

2023-05-07 Thread anonymouse via Digitalmars-d-announce
On Monday, 8 May 2023 at 03:22:02 UTC, anonymouse wrote: Sorry, I thought I was already in the Learn forum. Please move there if possible.

exponential errors

2023-05-07 Thread anonymouse via Digitalmars-d-announce
I'm not the sharpest tool in the shed so I would really appreciate some assistance clarifying what's going on here and how to accomplish this seemingly simple (to me) goal. I'd like to raise a floating point value ```d``` to some exponent ```n```. Never thought I'd have to do this but, in