[Newbies] Re: is 0.1 a Float or a ScaledDecimal ?

2008-02-20 Thread Louis LaBrunda
I have another interrogation. Please take it as a student/newbie whatever question. I think 0.1 should be considered as a ScaledDecimal so that we could write 0.1 asFraction and have 1/10... What you desire is admirable but no longer practical as it would break a great many existing

Re: [Newbies] Re: is 0.1 a Float or a ScaledDecimal ?

2008-02-20 Thread cdrick
What you desire is admirable but no longer practical as it would break a great many existing programs. Yep, that's a BIG problem :-) [snip] between different manufactures computers. After a while, computers supported integers, floating point numbers and IBM mainframes had packed decimal

Re: [Newbies] Re: is 0.1 a Float or a ScaledDecimal ?

2008-02-20 Thread cdrick
I don't know what you are working on but if you use fractions for what you are doing it would be interesting to hear about how you use them and your results. Because fractions are kept as an integer numerator and an integer denominator, they probably take up more memory than floats but less

Re: [Newbies] Re: is 0.1 a Float or a ScaledDecimal ?

2008-02-20 Thread cdrick
Waaah, belief and plausibility as sum over numbers; shudder; political-systems-failure through machine calculations; market-meltdown through machine calculations; poverty-for-everyone through machine calculations :( Anyways, have you compared to Pei Wang's NARS (or perhaps his The limitation

[Newbies] Re: is 0.1 a Float or a ScaledDecimal ?

2008-02-20 Thread Klaus D. Witzel
On Wed, 20 Feb 2008 18:27:09 +0100, cdrick wrote: ... I think all this is premature optimization for me :) as I'm only building an early prototype (I'm doing a start of Dempster Shafer Theory [1] implementation (actually Transferable Belief Model)... and it's won't reach a big size for a while.