Recent

Author Topic: Is this a bug? External: SIGFPE  (Read 7210 times)

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: Is this a bug? External: SIGFPE
« Reply #15 on: November 29, 2021, 10:55:51 pm »
Or do it like the C boys:

Set an exception mask for everything.
If the compiler does not complain everything is fine.
That's why you have to reboot windows often.
Because the errors are not detected anymore

Honestly!!! Funniest thing I've seen all day!

OK, but in fairness: FPC etc. can still have that sort of problem where the exception is actually raised in a DLL/so library.

MarkMLl


MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Isenbeck

  • Newbie
  • Posts: 5
Re: Is this a bug? External: SIGFPE
« Reply #16 on: November 30, 2021, 08:45:20 am »
Such numbers always look like uninitialized variables. And in fact, you do not initialize all elements of matProj. Call
Code: Pascal  [Select][+][-]
  1.   matProj := Default(Matrix4x4);
before you assign those 6 elements. This will certainly set the other elements to zero, and your code should work.

Thank you! This has solved the problem.

 

TinyPortal © 2005-2018