Re: [Emc-developers] RTAI broken again with LinuxCNC

2023-10-07 Thread Alec Ari via Emc-developers
Whelp, pull request submitted. Just be sure to test the math! https://github.com/LinuxCNC/linuxcnc/pull/2685 The 2.9 branch will be broken with newer RTAI without this, so if it works in master I'd cherry-pick it. Alec ___ Emc-developers mailing lis

Re: [Emc-developers] RTAI broken again with LinuxCNC

2023-10-07 Thread andy pugh
On Sat, 7 Oct 2023 at 00:00, Alec Ari via Emc-developers wrote: > > I don't exactly know why switching to GNU11 causes this issue, maybe the > GNU11 standard already defines these, but I removed LinuxCNC's definitions of > the following functions: > > atan > asin > acos > fmax > fmin That looks

Re: [Emc-developers] lost file or mind?

2023-10-07 Thread Steffen Möller
Hi Phill, > Gesendet: Samstag, 07. Oktober 2023 um 07:54 Uhr > Von: "Phill Carter via Emc-developers" > An: "linuxcnc-developers" > Cc: "Phill Carter" > Betreff: Re: [Emc-developers] lost file or mind? > > > > On 7 Oct 2023, at 3:32 pm, Thomas J Powderly wrote: > > > > Hello, > > > > I cannot

Re: [Emc-developers] RTAI broken again with LinuxCNC

2023-10-07 Thread Alec Ari via Emc-developers
I can't tell because my C skills are pretty bad but looking at fmax and fmin, I'm worried that the X and Y axis might be flipped for example: LinuxCNC from rtapi_math.h: extern __inline double fmax(double __y, double __x) {     return __y > __x || __builtin_isnan(__x) ? __y : __x; } extern __in