flat assembler
Message board for the users of flat assembler.

 Index > Heap > Numerical oddities Goto page Previous  1, 2, 3 ... 16, 17, 18 ... 24, 25, 26  Next
Author
edfed

Joined: 20 Feb 2006
Posts: 4238
Location: 2018
edfed
1/3=0.{3}

i think it is strange and simple enough to be a numerical oddity.
20 Jun 2011, 19:13
idle

Joined: 06 Jan 2011
Posts: 359
Location: Ukraine
idle
1/3 + 2/3 = 1
.333 + .666 = .999
20 Jun 2011, 19:26
revolution
When all else fails, read the source

Joined: 24 Aug 2004
Posts: 17287
revolution
0.{9} == 1
21 Jun 2011, 00:55
Enko

Joined: 03 Apr 2007
Posts: 678
Location: Mar del Plata
Enko
revolution wrote:
0.{9} == 1

If I'm note mistaken, there's no division that as result give you 0.999......
the number does not exitst

Last edited by Enko on 21 Jun 2011, 03:38; edited 2 times in total
21 Jun 2011, 03:34
Tyler

Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler
Enko wrote:
revolution wrote:
0.{9} == 1

If I'm note mistaken, there's no division that as result give you 0.999......
the number does not exitst
.999.../1 = .999...
21 Jun 2011, 03:36
revolution
When all else fails, read the source

Joined: 24 Aug 2004
Posts: 17287
revolution
1.{9} / 2 = 0.{9}

Same as: 2 / 2 = 1
21 Jun 2011, 03:39
Enko

Joined: 03 Apr 2007
Posts: 678
Location: Mar del Plata
Enko
Tyler wrote:
Enko wrote:
revolution wrote:
0.{9} == 1

If I'm note mistaken, there's no division that as result give you 0.999......
the number does not exitst
.999.../1 = .999...

and how you get the 0.9....?

dont say 1/3*3
21 Jun 2011, 03:40
Tyler

Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler
How do you get 0 (or any other constant)? It's just 0. The question is meaningless.
21 Jun 2011, 03:41
revolution
When all else fails, read the source

Joined: 24 Aug 2004
Posts: 17287
revolution
Enko wrote:
and how you get the 0.9....?
1/9 * 9
Enko wrote:
dont say 1/3*3
I didn't.
21 Jun 2011, 03:44
Enko

Joined: 03 Apr 2007
Posts: 678
Location: Mar del Plata
Enko
revolution wrote:
Enko wrote:
and how you get the 0.9....?
1/9 * 9
Enko wrote:
dont say 1/3*3
I didn't.

This example is a little bit clear

Other question...

Could 0.9....= 1 be the couse of two parallel lines intersect in infinity?
21 Jun 2011, 03:50
idle

Joined: 06 Jan 2011
Posts: 359
Location: Ukraine
idle
circle - an ideal form

 Description: Filesize: 3.38 KB Viewed: 4279 Time(s)

21 Jun 2011, 06:22
idle

Joined: 06 Jan 2011
Posts: 359
Location: Ukraine
idle
idle wrote:
(1+.a)*(1+.b)
can we chop 1+ ?

case:
1 + a + b + a*b
1+ implied
is there a way to change a+b + a*b into some other view?
21 Jun 2011, 10:47
Tyler

Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler
idle wrote:
idle wrote:
(1+.a)*(1+.b)
can we chop 1+ ?

case:
1 + a + b + a*b
1+ implied
is there a way to change a+b + a*b into some other view?
I'm not sure I understand. You can use matching coefficients to say a+b+ab=a(b+1)+b=a+(a+1)b. Is that what you mean?
21 Jun 2011, 23:44
sleepsleep

Joined: 05 Oct 2006
Posts: 8904
Location: ˛　　　　　　　　　　　　　　　　　　　　　　　　　　　　　⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
Quote:

1/3=0.{3}

i think it is strange and simple enough to be a numerical oddity.

felt so too...
maybe anything that couldn't be divided within the length of a divisor shouldn't be divide after all?
22 Jun 2011, 01:02
typedef

Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
2+2-2*2/2=2

Not odd but cool
22 Jun 2011, 02:56
ctl3d32

Joined: 30 Dec 2009
Posts: 204
Location: Brazil
ctl3d32
3/9 = 0.33333...
45/99 = 0.4545454545...
561/999 = 0.561561561561...
22 Jun 2011, 03:33
idle

Joined: 06 Jan 2011
Posts: 359
Location: Ukraine
idle
Tyler: wow
22 Jun 2011, 08:41
idle

Joined: 06 Jan 2011
Posts: 359
Location: Ukraine
idle
edit: wrong

edit:
Code:
```              1)
--
-64)       64
(2        (2
2      =  2    = arbitrary x^y key = ?

```

Last edited by idle on 25 Jun 2011, 06:03; edited 1 time in total
22 Jun 2011, 11:19
JoeCoder1

Joined: 13 Jun 2011
Posts: 62
JoeCoder1
ctl3d32 wrote:
3/9 = 0.33333...

3/9 = 0.33333...

so
3 * 3/9 = 0.99999 hehehe
22 Jun 2011, 12:02
idle

Joined: 06 Jan 2011
Posts: 359
Location: Ukraine
idle
edit: wrong: 2^(1/64) = 2^(2^-6)

 Description: Filesize: 4.2 KB Viewed: 4171 Time(s)

Last edited by idle on 25 Jun 2011, 06:05; edited 1 time in total
22 Jun 2011, 12:18
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First

 Jump to: Select a forum Official----------------AssemblyPeripheria General----------------MainDOSWindowsLinuxUnixMenuetOS Specific----------------MacroinstructionsCompiler InternalsIDE DevelopmentOS ConstructionNon-x86 architecturesHigh Level LanguagesProgramming Language DesignProjects and IdeasExamples and Tutorials Other----------------FeedbackHeapTest Area
Goto page Previous  1, 2, 3 ... 16, 17, 18 ... 24, 25, 26  Next

Forum Rules:
 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou can attach files in this forumYou can download files in this forum