Re: Re: Decimal type question [Prothon] (was: Re: Re: Decimal type question [Prothon])

Mukhsein Johari <[email protected]> Tue, 10 Aug 2004 06:24:26 +0100 (BST)
Newsgroups gmane.comp.lang.prothon.user,gmane.comp.python.devel
Message-ID <[email protected]>
 --- Mark Hahn <[email protected]> wrote: 

> I would still need to have a separate binary
> floating point type that the
> programmer would manually specify when he knows he
> wants the performance of
> the hardware and is willing to live with the binary
> limitations.
> 
> How about a basic built-in numeric default type
> called Decimal with all the
> default numeric constant formats (123, 123.0, &
> 123e0) and a separate
> binary double hardware type called Float with the
> constant format of 0f0,
> 1f0, -1.3f-34, etc. where the letter "f" replaces
> the letter "e"?
> 

I was just going to suggest such a beast. This
actually seems more interesting and potentially more
intuitive for new programmers (new as in doesn't know
any other language). 

The above proposal gets +2 vote from me. 

Now if only you were amenable to ":=" for assignment
and "=" for value equality... (Oh no! Not that again!
:->)


________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html