Who can guess what value is returned by
Who can guess what value is returned by
StrToFloat('߀')
if the PUREPASCAL version of StrToFloat is used .......
Make sure that you copy and paste the code above rather than re-typing it.
To spoil the surprise read this: https://stackoverflow.com/a/49736812/
https://stackoverflow.com/a/49736812/505088
StrToFloat('߀')
if the PUREPASCAL version of StrToFloat is used .......
Make sure that you copy and paste the code above rather than re-typing it.
To spoil the surprise read this: https://stackoverflow.com/a/49736812/
https://stackoverflow.com/a/49736812/505088
Lars Fosdal slack is okay for company chat and private groups, but it's a walled garden, neither searchable nor discoverable.
ReplyDeleteBy searchable, I mean "anonymous Joe" can find it with a Google or Bing search, in that regard G+ is not searchable as well.
Eric Grange much as it would be nice to get the closest representable value, it's a lot of effort. One could call strtod, or wcstod, for Unicode. But it is so slow. And for the sake of an ulp? Probably not worth it.
ReplyDeleteAnyway, thanks for engaging in this, I've learnt quite a bit from you.
Eric Grange - Search works just fine.
ReplyDeleteGoogle Search
https://www.google.no/search?q=google%2B+delphi+wcstod
(Third entry points to this post for me)
Google+ Community Search (Permalinks)
Unfortunately it is not present in the mobile app - only on the desktop.(Notice the search term, upper left).
https://plus.google.com/communities/103113685381486591754/s/StrToFloat
Delphi Developers
FWIW: G+ can be used for person to person dialog. Or as a project dialog (create a private invite only/not searchable community - or a public/ask to join/searchable community) whenever you have a need to delve deep into something.