BPFK Section: Digits: Difference between revisions

From Lojban
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
#REDIRECT [[The Logical Language Group]]
 
The base of a number string should be base-ten, unless:
 
* explicitly specified by ju'u, AND/OR
* the string contains hexadecimal digits, in which case it is defaults to hexadecimal, AND/OR
 
* overridden by context
 
It should not be necessary to state this in the cmavo definitions here, but rather in the definition for ju'u.
 
I assume that it is unnecessary to formally define the mechanism of big-endian positional notation. At any rate, I am unable to do so myself.
 
== Usage for decimal digits ==
 
''cacra li revo .a li pare''<br />
 
It lasts for 24 or 12 hours.
 
''mi tatpi .i li paci vi tcika''<br />
 
I'm tired. It's 13 o'clock here.
 
''li paze pi'e ci''<br />
 
17:03
 
== Usage for hexadecimal digits ==
 
''li dau re ci vai vai vai vai vai''<br />
 
A23FFFFF
 
== Proposed definitions ==
 
;no: Digit 0. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
 
;pa: Digit 1. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
 
;re: Digit 2. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
 
;ci: Digit 3. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
 
;vo: Digit 4. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
 
;mu: Digit 5. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
 
;xa: Digit 6. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
 
;ze: Digit 7. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
 
;bi: Digit 8. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
 
;so: Digit 9. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
 
;dau: Hexadecimal digit A (decimal 10). Used in Lojban number strings, which are big endian. Number strings that contain this digit are hexadecimal, unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
 
;fei: Hexadecimal digit B (decimal 11). Used in Lojban number strings, which are big endian. Number strings that contain this digit are hexadecimal, unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
 
;gai: Hexadecimal digit C (decimal 12). Used in Lojban number strings, which are big endian. Number strings that contain this digit are hexadecimal, unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
 
;jau: Hexadecimal digit D (decimal 13). Used in Lojban number strings, which are big endian. Number strings that contain this digit are hexadecimal, unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
 
;rei: Hexadecimal digit E (decimal 14). Used in Lojban number strings, which are big endian. Number strings that contain this digit are hexadecimal, unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
 
;vai: Hexadecimal digit F (decimal 15). Used in Lojban number strings, which are big endian. Number strings that contain this digit are hexadecimal, unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
 
== Proposed keywords ==
 
;no: 0. zero. no ; none. none. nought. nil.
 
;pa: 1. one. unity ; number.
 
;re: 2. two.
 
;ci: 3. three.
 
;vo: 4. four.
 
;mu: 5. five.
 
;xa: 6. six.
 
;ze: 7. seven.
 
;bi: 8. eight.
 
;so: 9. nine.
 
;dau: A ; hexadecimal. ten ; hexadecimal.
 
;fei: B ; hexadecimal. eleven ; hexadecimal.
 
;gai: C ; hexadecimal. twelve ; hexadecimal.
 
;jau: D ; hexadecimal. thirteen ; hexadecimal.
 
;rei: E ; hexadecimal. fourteen ; hexadecimal.
 
;vai: F ; hexadecimal. fifteen ; hexadecimal
 
== Interactions with other sections ==
 
The sections with ju'u should state that digits are in base-ten, unless they contain at least one hexadecimal digit, or they are explicitly specified by ju'u, or the base is overriden by context.
 
== Impact ==
 
None intended.

Revision as of 16:44, 4 November 2013

The base of a number string should be base-ten, unless:

  • explicitly specified by ju'u, AND/OR
  • the string contains hexadecimal digits, in which case it is defaults to hexadecimal, AND/OR
  • overridden by context

It should not be necessary to state this in the cmavo definitions here, but rather in the definition for ju'u.

I assume that it is unnecessary to formally define the mechanism of big-endian positional notation. At any rate, I am unable to do so myself.

Usage for decimal digits

cacra li revo .a li pare

It lasts for 24 or 12 hours.

mi tatpi .i li paci vi tcika

I'm tired. It's 13 o'clock here.

li paze pi'e ci

17:03

Usage for hexadecimal digits

li dau re ci vai vai vai vai vai

A23FFFFF

Proposed definitions

no
Digit 0. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
pa
Digit 1. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
re
Digit 2. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
ci
Digit 3. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
vo
Digit 4. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
mu
Digit 5. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
xa
Digit 6. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
ze
Digit 7. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
bi
Digit 8. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
so
Digit 9. Used in Lojban number strings, which are big endian. Number strings are in base 10 (ten), unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
dau
Hexadecimal digit A (decimal 10). Used in Lojban number strings, which are big endian. Number strings that contain this digit are hexadecimal, unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
fei
Hexadecimal digit B (decimal 11). Used in Lojban number strings, which are big endian. Number strings that contain this digit are hexadecimal, unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
gai
Hexadecimal digit C (decimal 12). Used in Lojban number strings, which are big endian. Number strings that contain this digit are hexadecimal, unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
jau
Hexadecimal digit D (decimal 13). Used in Lojban number strings, which are big endian. Number strings that contain this digit are hexadecimal, unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
rei
Hexadecimal digit E (decimal 14). Used in Lojban number strings, which are big endian. Number strings that contain this digit are hexadecimal, unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.
vai
Hexadecimal digit F (decimal 15). Used in Lojban number strings, which are big endian. Number strings that contain this digit are hexadecimal, unless overridden grammatically. Context may override this default, but relying on context in this fashion risks misunderstanding.

Proposed keywords

no
0. zero. no ; none. none. nought. nil.
pa
1. one. unity ; number.
re
2. two.
ci
3. three.
vo
4. four.
mu
5. five.
xa
6. six.
ze
7. seven.
bi
8. eight.
so
9. nine.
dau
A ; hexadecimal. ten ; hexadecimal.
fei
B ; hexadecimal. eleven ; hexadecimal.
gai
C ; hexadecimal. twelve ; hexadecimal.
jau
D ; hexadecimal. thirteen ; hexadecimal.
rei
E ; hexadecimal. fourteen ; hexadecimal.
vai
F ; hexadecimal. fifteen ; hexadecimal

Interactions with other sections

The sections with ju'u should state that digits are in base-ten, unless they contain at least one hexadecimal digit, or they are explicitly specified by ju'u, or the base is overriden by context.

Impact

None intended.