[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lojban] Counting in hex




On 13/09/2016 15:43, Josh Holland wrote:
On Tue, 13 Sep 2016, at 02:21 PM, 'Terry Sofian' via lojban wrote:
Can someone help me with counting in base 12 in lojban? What would 1A and
such be?
https://la-lojban.github.io/sutysisku/en/#sisku/dau
https://la-lojban.github.io/sutysisku/en/#sisku/fei

So once you've established (either via {ju'u} or context) that you are
counting in hex, 1A is {pa dau}, simply concatenating the digits as in
base 10.

Thanks,
Josh

Yes, you can change the number representation's radix punctually with {ju'u}, or use the experimental {ju'ai} for changing explicitly and globally the default radix for the following text.

{li re dau ju'u gai} means "the number represented by the digit string «2A» encoded in base twelve notation", thus the same number as 34 expressed in base ten.
{li re vo ju'u bi} means "the number represented by the digit string «24» encoded in base eight notation", thus the same number as 20 expressed in base ten.

If you use [radix]+ju'ai (e.g. {gai ju'ai} at the beginning of your text to set explicitly the default radix to twelve for the whole following text), you won't have to add {ju'u gai} after your number expressions to explicit they're in base twelve notation, as {ju'ai} would have make it the default interpretation already.

—Ilmen.


--
You received this message because you are subscribed to the Google Groups "lojban" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lojban+unsubscribe@googlegroups.com.
To post to this group, send email to lojban@googlegroups.com.
Visit this group at https://groups.google.com/group/lojban.
For more options, visit https://groups.google.com/d/optout.