-
Content Count
3622 -
Joined
-
Last visited
-
Days Won
179
Everything posted by David Heffernan
-
Delphi TOIOBE index lifted in May 2022?
David Heffernan replied to wuwuxin's topic in RTL and Delphi Object Pascal
I'm quite sure that the people at TIOBE are driven night and day by their intense feelings of envy towards Delphi. I really can't imagine they think about anything else. -
Project in Seismic Field
David Heffernan replied to nm1978's topic in Job Opportunities / Coder for Hire
What is the pay and working conditions? How long is the contract? -
looking for a "special" checkbox component
David Heffernan replied to tony.huerlimann's topic in VCL
Radio group: - Yes it's OK - No it's not - Not sure -
I know what the problem is. My point is that a negative value in a signed integer that is actually holding a pointer, does not imply that a 64 bit value was stored in a 32 bit type.
-
Negative integer wouldn't be a problem per se. A DLL loaded between 0x80000000 and 0xffffffff would be negative when interpreted as a signed integer.
-
Win32, Win64, WinRT and now... WinARM ?????
David Heffernan replied to Juan C.Cilleruelo's topic in Windows API
I'm not a big screen toucher either -
Win32, Win64, WinRT and now... WinARM ?????
David Heffernan replied to Juan C.Cilleruelo's topic in Windows API
32 bit version of MATLAB hasn't existed for at least 5 years -
Win32, Win64, WinRT and now... WinARM ?????
David Heffernan replied to Juan C.Cilleruelo's topic in Windows API
I compared an XPS13 with Macbook Air 13 and the Macbook, 16GB RAM, 512Tb and the prices are £929 vs £1,649. Looking at 32/1Tb the comparison is £1,400 vs £2,000 and the Macbook only has 24Gb because there is no 32Gb option, at least where I am. Perhaps I'm missing something. Is this comparison flawed? Also worth noting that, unless I'm mistake, none of the Macbooks have touch screen displays. You can get a swanky touch screen on the XPS13 and still have a few hundred pounds of change compared to the price for the non touch Mac. I must be missing something. -
Win32, Win64, WinRT and now... WinARM ?????
David Heffernan replied to Juan C.Cilleruelo's topic in Windows API
I asked a question because I am curious. Do you know the answer? -
Win32, Win64, WinRT and now... WinARM ?????
David Heffernan replied to Juan C.Cilleruelo's topic in Windows API
What do Macs come with that equates to Office? -
Win32, Win64, WinRT and now... WinARM ?????
David Heffernan replied to Juan C.Cilleruelo's topic in Windows API
Price of Apple more like -
Win32, Win64, WinRT and now... WinARM ?????
David Heffernan replied to Juan C.Cilleruelo's topic in Windows API
ARM has to win in the end at least for portable devices. -
Delphi 11.3 lite. dosent work code completion
David Heffernan replied to NBilov's topic in Delphi IDE and APIs
This is cracked software, right? -
There are commercial tools to support this. I sure websearch will find them. As soon as you link to anything that isn't delphi then the desire for a tool for Delphi is a bit pointless.
-
What is the benefit of sorting the Uses clause?
David Heffernan replied to RCrandall's topic in MMX Code Explorer
Although the real problem is the language design that makes this order affect the meaning of the program. -
Algorithms. Irrational numer storage.Playing with 6 axis robot.
David Heffernan replied to skyzoframe[hun]'s topic in Algorithms, Data Structures and Class Design
OK. Well I'm glad this thread has been useful!!! -
Algorithms. Irrational numer storage.Playing with 6 axis robot.
David Heffernan replied to skyzoframe[hun]'s topic in Algorithms, Data Structures and Class Design
I've no idea what your requirement is and what the problem is. You don't seem to understabd how floats work. I don't think this is going to be productive. -
Algorithms. Irrational numer storage.Playing with 6 axis robot.
David Heffernan replied to skyzoframe[hun]'s topic in Algorithms, Data Structures and Class Design
K and n are integers. All representable floats are of the form k*2^n. So 1/3, 1/10 aren't of that for, and aren't representable. I doubt that you need to store these numbers exactly. But we don't know your requirements. -
Algorithms. Irrational numer storage.Playing with 6 axis robot.
David Heffernan replied to skyzoframe[hun]'s topic in Algorithms, Data Structures and Class Design
You can see that it's impossible to store irrational numbers in floats. Indeed even rationals can't be stored exactly in floats, unless they can be expressed as above, k*2^n. -
Algorithms. Irrational numer storage.Playing with 6 axis robot.
David Heffernan replied to skyzoframe[hun]'s topic in Algorithms, Data Structures and Class Design
Yes but it's hard to see the relevance. Representable numbers have the form k*2^n. Perhaps you don't actually need exact representability. We don't know what your requirements are. -
Algorithms. Irrational numer storage.Playing with 6 axis robot.
David Heffernan replied to skyzoframe[hun]'s topic in Algorithms, Data Structures and Class Design
I don't know what this means -
Of course the other problem with packing a record that should be aligned is that gives it alignment of 1 so they can be misaligned. These days that doesn't usually matter for x86/x64 but it can be a issue for some SSE2 instructions and for arm processors.
-
Algorithms. Irrational numer storage.Playing with 6 axis robot.
David Heffernan replied to skyzoframe[hun]'s topic in Algorithms, Data Structures and Class Design
Even rational numbers aren't exactly representable. Examples include 1/3 and 1/10. -
Algorithms. Irrational numer storage.Playing with 6 axis robot.
David Heffernan replied to skyzoframe[hun]'s topic in Algorithms, Data Structures and Class Design
You mean the request to store pi exactly in a float ? -
Hard to comment on this without seeing you actual code. This is all about the detail and we have none of it. For all I know you are using packed records and manually inserting padding. In which case, if that's what you've decided to do then you know how to fix it.