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

Comments

  1. Lars Fosdal slack is okay for company chat and private groups, but it's a walled garden, neither searchable nor discoverable.
    By searchable, I mean "anonymous Joe" can find it with a Google or Bing search, in that regard G+ is not searchable as well.

    ReplyDelete
  2. 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.

    Anyway, thanks for engaging in this, I've learnt quite a bit from you.

    ReplyDelete
  3. Eric Grange - Search works just fine.

    Google 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.

    ReplyDelete

Post a Comment