Mail Archives: djgpp/1998/04/29/19:02:08
Alex wrote:
>
> Hi you all and K.B. Williams,
> I am using Djgpp in this days I had complete a graphical program witch
> used the function pow(x,y).
> I got always floating point exception, first I didn't know what the
> problem was, but later I discovered the pow(0,0) is not number that is
> uncountable. Try it on a calculator You will see!
This is off-topic, but I'm curious about something. I know that the
European custom is to write decimal numbers using a comma for the
decimal point and a period for the thousands separator, whereas the
American (and British, AFAIK) custom is the reverse. However, every
program I've ever seen that deals with decimal numbers does not
recognize commas. My pocket calculator certainly doesn't have a comma
key.
So, is there a special language variant of C/C++ for Europeans where the
role of ',' and '.' are reversed, and special European calculators and
numeric keypads? Or do you just have to remember to type numbers in the
American style when you program? It could be extremely confusing either
way.
Thanks.
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com |
| ICQ UIN#: 7406319 | http://www.cs.com/fighteer/ |
| ObJoke: If Bill Gates were a robber, not only would he |
| shoot you, but he'd send you a bill for the bullets. |
---------------------------------------------------------------------
- Raw text -