Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: In base 1, the number after 0 is:

by wjw (Deacon)
on May 01, 2014 at 19:03 UTC ( #1084677=note: print w/ replies, xml ) Need Help??


in reply to In base 1, the number after 0 is:

Interesting exercise in mental gymnastics... .

In base 1 there is no symbol for 0(zero) if one is to believe Wikipedia.
Thus there is no character after the character 0(zero) because that character does not exist in that system.
So counter to my incorrect and uninformed vote, the better answer is probably 'heresy'.
One learns the strangest things here... . Yet it does leave one open to asking what nothing is in a system which has no representation for it.


Perhaps if one is stuck in an unary system, zero would be thought of as a quality instead of as a quantity. I think I like that...


...the majority is always wrong, and always the last to know about it...
Insanity: Doing the same thing over and over again and expecting different results...


Comment on Re: In base 1, the number after 0 is:
Re^2: In base 1, the number after 0 is:
by Anonymous Monk on May 01, 2014 at 22:05 UTC
    base 2 uses 0 and 1 as its digits base 10 uses 0,1,2,3,4,5,6,7,8,9 base n uses 0 .. n-1 as it's list of digits where n is the number of digits avaliable since in the case of base 1 n-1 would be 1-1 or 0 the entire list of digits would be 0..0. Making the answer 00 or in common base 10 "2". If we consider that English speaking non programmers who treat 0 and null as the same value we can infer that the choice to use 0 as the entire list of digits in base 1 is flawed as general consensus would be to use 1 as the entire list of digits available in base 1. In this case the number after 0, which is effectively null, would be 1. my $foo = null; $foo ++; print $foo; #1
      I agreee with you that the number after 0 is 00 in base 1, but I'd say it is 0 in base 10.
      Also I'd write your code as:
      my $n = ''.0; $n++; print "$n\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1084677]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2014-09-21 03:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (166 votes), past polls