Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #22430
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: Not quite one |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <7e00b5d4-3ff8-461e-8571-15f397e92766@googlegroups.com> <l9k0jj$c7$1@speranza.aioe.org> <f810955b-28e5-4405-9216-b5d69d430a6a@googlegroups.com> |
| Date | 2013-12-27 17:12 +0100 |
| Message-ID | <XnsA2A3AF043FB70eejj99@194.109.133.133> (permalink) |
jonas.thornvall@gmail.com wrote on 27 dec 2013 in comp.lang.javascript:
> I know both howto implement a fixaround and a bignumb library, my
> question is why javascript and programming languages in general have so
> lousy precision to begin with?
> y=y/10;
Oh, come on,
it is not the precision that is lousy,
but probably your understanding of floating binary aritmatic.
> for (i=1;i<100;i++){
>
> x=1
> x=x-y;
Why not just:
x = 1 - y;
> </FORM>
why?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Not quite one jonas.thornvall@gmail.com - 2013-12-27 05:28 -0800
Re: Not quite one Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2013-12-27 11:50 -0200
Re: Not quite one jonas.thornvall@gmail.com - 2013-12-27 06:02 -0800
Re: Not quite one "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-12-27 17:12 +0100
Re: Not quite one John Harris <niam@jghnorth.org.uk.invalid> - 2013-12-27 21:24 +0000
Re: Not quite one Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-12-28 20:28 +0000
Re: Not quite one John Harris <niam@jghnorth.org.uk.invalid> - 2013-12-30 15:37 +0000
Re: Not quite one Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-12-31 21:12 +0000
Re: Not quite one jonas.thornvall@gmail.com - 2014-01-06 00:55 -0800
Re: Not quite one "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-01-06 01:48 -0800
Re: Not quite one Dr J R Stockton <reply1400@merlyn.demon.co.uk.invalid> - 2014-01-07 19:06 +0000
Re: Not quite one jonas.thornvall@gmail.com - 2013-12-29 01:51 -0800
Re: Not quite one "Michael F. Stemper" <michael.stemper@gmail.com> - 2013-12-29 15:49 -0600
Re: Not quite one Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-12-29 23:06 +0100
csiph-web