flat assembler
Message board for the users of flat assembler.

Index > Heap > Numerical oddities

Goto page Previous  1, 2, 3 ... 9, 10, 11 ... 24, 25, 26  Next
Author
Thread Post new topic Reply to topic
windwakr



Joined: 30 Jun 2004
Posts: 827
Location: Michigan, USA
windwakr
Ahh, I'm seeing it now. 10010 / (Phi^7)-1 is 0.(0010010)
So, it does in fact work in Phinary

But how come i get 0.00000100100010010001001 for 2 / (phi^7)-1? Note the garbage at the beginning before the repetition, am I doing it wrong?

EDIT: spelling fix.

_________________
----> * <---- My star, won HERE


Last edited by windwakr on 22 Aug 2009, 06:14; edited 1 time in total
Post 22 Aug 2009, 06:03
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17279
Location: In your JS exploiting you and your system
revolution
Yes, correct it does work in Phinary.
windwakr wrote:
But how come i get 0.00000100100010010001001 for 2 / (phi^7)-1? Note the garbage at the beginning before the repition, am I doing it wrong?
"2" is not a Phinary number, do you mean 2 base 10?
Post 22 Aug 2009, 06:10
View user's profile Send private message Visit poster's website Reply with quote
windwakr



Joined: 30 Jun 2004
Posts: 827
Location: Michigan, USA
windwakr
I mean 2 as in 10.01, sorry for not specifying that.


Lol, can't believe I spelled it repition, now it's stuck in your quote forever.

_________________
----> * <---- My star, won HERE
Post 22 Aug 2009, 06:11
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17279
Location: In your JS exploiting you and your system
revolution
windwakr wrote:
I mean 2 as in 10.01, sorry for not specifying that.
Does that answer your question?
windwakr wrote:
Lol, can't believe I spelled it repition, now it's stuck in your quote forever.
dont wory aboot speeling, wee al maek mystaeks.
Post 22 Aug 2009, 06:16
View user's profile Send private message Visit poster's website Reply with quote
windwakr



Joined: 30 Jun 2004
Posts: 827
Location: Michigan, USA
windwakr
>.>
Ya....How dumb of me...

Ok, so it does work in Phinary, just as in any other base.


Wow, I went from last night(well, technically 2 nights ago) not knowing what phinary is, to tonight knowing how to expand it, simplify it, do math on it, etc....but I still got fumbled by one stupid thing....THE DECIMAL POINT!


Hey, I see what you did there....now you got it in 2 quotes!


Ok, I'm off to bed, hopefully the global post count doesn't hit 100,000 until I get up, currently at 99,969.

_________________
----> * <---- My star, won HERE
Post 22 Aug 2009, 06:17
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17279
Location: In your JS exploiting you and your system
revolution
windwakr wrote:
>.>
Ya....How dumb of me...

Ok, so it does work in Phinary, just as in any other base.


Wow, I went from last night(well, technically 2 nights ago) not knowing what phinary is, to tonight knowing how to expand it, simplify it, do math on it, etc..
Yes, and well done I must say.
windwakr wrote:
..but I still got fumbled by one stupid thing....THE DECIMAL POINT!
Don't you mean the Phinary point? Razz
windwakr wrote:
Hey, I see what you did there....now you got it in 2 quotes!
Hehe.
Post 22 Aug 2009, 06:32
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17279
Location: In your JS exploiting you and your system
revolution
Hmm, does it work in base 0.1? Wink
Post 22 Aug 2009, 06:34
View user's profile Send private message Visit poster's website Reply with quote
windwakr



Joined: 30 Jun 2004
Posts: 827
Location: Michigan, USA
windwakr
I don't see why not. It's just backwards base 10.
Post 22 Aug 2009, 14:56
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17279
Location: In your JS exploiting you and your system
revolution
But how can you have digits 1,2,...,9 when the base is not even 1? Not possible! The digits have to be less than the base, basic rules of base conversion.
Post 22 Aug 2009, 15:04
View user's profile Send private message Visit poster's website Reply with quote
windwakr



Joined: 30 Jun 2004
Posts: 827
Location: Michigan, USA
windwakr
Ya, I noticed that after reading the wiki page for a bit.

But it could be represented as 0 and 1. With 1 meaning just 0.1 to that positional power. If you sat there long enough you could figure out the rules of the base.

Here's 1 in base 0.1: 1.0 , which is 0.1^0
I'm sure you could figure a way of expansion out to clear up the ^0 spot to allow for any number to be represented, just like in Phinary.

_________________
----> * <---- My star, won HERE
Post 22 Aug 2009, 15:13
View user's profile Send private message Reply with quote
windwakr



Joined: 30 Jun 2004
Posts: 827
Location: Michigan, USA
windwakr
Actually, I take that back. Just look at the powers:
Code:
 5=0.00001
 4=0.0001
 3=0.001
 2=0.01
 1=0.1
 0=1
-1=10
-2=100
-3=1000
-4=10000
    

Even if you could represent it like I said, I don't think you could possibly represent a lot of the numbers.

How would you represent two? Answer, impossible. you could do 0.1^0+(0.1^-n) where n goes on infinitely, and you'd still just end up with 1.(1)

_________________
----> * <---- My star, won HERE
Post 22 Aug 2009, 15:19
View user's profile Send private message Reply with quote
windwakr



Joined: 30 Jun 2004
Posts: 827
Location: Michigan, USA
windwakr
Ok, that just leaves:
http://board.flatassembler.net/topic.php?p=83742#83742 (half solved, prize pending)

Maybe you can create some more questions now, no one seems to be able to figure that one out. I mean, we see the error, but not how to fix it.



Also, if you look at it, I had the answer to the Phinary question at the beginning of the page 9, when I did 10.01(2)/(phi^7)-1......But that damn Phinary point threw me off.
http://board.flatassembler.net/topic.php?p=99913#99913

_________________
----> * <---- My star, won HERE
Post 22 Aug 2009, 16:39
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17279
Location: In your JS exploiting you and your system
revolution
windwakr wrote:
Maybe you can create some more questions now ...
Sure, but I won't just post anything, it has to be a non Internet-searchable answer. Give me some time to think about it.
windwakr wrote:
Also, if you look at it, I had the answer to the Phinary question at the beginning of the page 9, when I did 10.01(2)/(phi^7)-1......But that damn Phinary point threw me off.
http://board.flatassembler.net/topic.php?p=99913#99913
Very Happy, maths can be so frustrating at times, one little thing can throw the whole calculation off.
Post 23 Aug 2009, 09:01
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17279
Location: In your JS exploiting you and your system
revolution
Infinity is not prime.

Let me prove it:

We know that: ∞ * 2 = ∞
Therefore: ∞ / 2 = ∞ ;with no remainder

So that means that ∞ is not prime because it is divisible by 2.


Oh but wait ...

Infinity is prime:

Let me prove it:

We know that: ∞ * number = ∞
And that: ∞ + 1 = ∞
Therefore: (∞ + 1) * number = ∞
Rearrange: ∞ / number = ∞ + 1

So that means that ∞ is prime because all possible divisors will give a remainder of 1
Post 05 Sep 2009, 12:32
View user's profile Send private message Visit poster's website Reply with quote
Borsuc



Joined: 29 Dec 2005
Posts: 2466
Location: Bucharest, Romania
Borsuc
Infinity is not a number.
Post 05 Sep 2009, 17:36
View user's profile Send private message Reply with quote
pal



Joined: 26 Aug 2008
Posts: 227
pal
revolution: Borsuc is correct; you cannot using infinity like other numbers and so it is considered not to be a number. You are also forgetting that there are different types of infinity (countable and uncountable).

Code:
http://tutorial.math.lamar.edu/Classes/CalcI/TypesOfInfinity.aspx    
Post 06 Sep 2009, 11:06
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17279
Location: In your JS exploiting you and your system
revolution
Borsuc wrote:
Infinity is not a number.
Infinity is not not a number.

∞ != NaN
Code:
inf = 0x7f800000
NaN = 0x7fe00000    
Razz
Post 06 Sep 2009, 11:13
View user's profile Send private message Visit poster's website Reply with quote
Borsuc



Joined: 29 Dec 2005
Posts: 2466
Location: Bucharest, Romania
Borsuc
Laughing

_________________
Previously known as The_Grey_Beast
Post 06 Sep 2009, 18:50
View user's profile Send private message Reply with quote
nathanpc



Joined: 23 Aug 2009
Posts: 40
Location: Brazil
nathanpc
All that because of a "star"? Shocked
Hmmmm Laughing

_________________
Developer: C++, Java, C/C++, Java ME, Java EE, Pascal, Assembly(8086, 6502, z80, ARM and MIPS), Delphi, Visual Basic, Pascal, Ruby and Perl
Post 15 Sep 2009, 18:51
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
371d=173h Laughing
Post 06 Oct 2009, 19:55
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3 ... 9, 10, 11 ... 24, 25, 26  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.