// File: /workspace/github_cpp_makefile_star2_O1/yukioc[P]tscrpt/t-tscrpt.cpp
// Function: t_number()
void t_number() {/*{{{*/
	tscrpt_t sc;
	obj_t*o;
	//! \test decimal: 1 => 1
	o = sc.eval("1");
	mu_assert(o!=NULL);
	mu_assert(o->type=='N');
	mu_assert(o->value()==1);
	delete o;

	//! \test octal: 012 => 10
	o = sc.eval("012");
	mu_assert(o!=NULL);
	mu_assert(o->type=='N');
	mu_assert(o->value()==10);
	mu_assert(o->str().compare("10")==0);
	delete o;

	//! \test hexadecimal: 0x14 => 20
	o = sc.eval("0x14");
	mu_assert(o!=NULL);
	mu_assert(o->type=='N');
	mu_assert(o->value()==20);
	delete o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x2778
leaq 0x340a(%rip), %rsi      # 0x7962
movq %rbx, %rdi
callq 0x27ec
movq %rax, %r14
movq %rax, %rbx
incl 0x5c08(%rip)            # 0xa174
testq %rax, %rax
jne 0x4598
incl 0x5bf5(%rip)            # 0xa16c
leaq 0x2e2c(%rip), %rdi      # 0x73aa
leaq 0x2e43(%rip), %rsi      # 0x73c8
leaq 0x3056(%rip), %rcx      # 0x75e2
movl $0x6f, %edx
xorl %eax, %eax
callq 0x2040
incl 0x5bd6(%rip)            # 0xa174
cmpb $0x4e, (%rbx)
je 0x45ca
incl 0x5bc3(%rip)            # 0xa16c
leaq 0x2dfa(%rip), %rdi      # 0x73aa
leaq 0x2e11(%rip), %rsi      # 0x73c8
leaq 0x302c(%rip), %rcx      # 0x75ea
movl $0x70, %edx
xorl %eax, %eax
callq 0x2040
incl 0x5ba4(%rip)            # 0xa174
movq %rbx, %rdi
callq 0x261c
cmpl $0x1, %eax
je 0x4604
incl 0x5b89(%rip)            # 0xa16c
leaq 0x2dc0(%rip), %rdi      # 0x73aa
leaq 0x2dd7(%rip), %rsi      # 0x73c8
leaq 0x2fff(%rip), %rcx      # 0x75f7
movl $0x71, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
addq $0x18, %r14
cmpq %r14, %rdi
je 0x461c
movq (%r14), %rsi
incq %rsi
callq 0x2150
movl $0x30, %esi
movq %rbx, %rdi
callq 0x2150
leaq 0x2fd5(%rip), %rsi      # 0x7605
movq %rsp, %rdi
callq 0x27ec
movq %rax, %r14
movq %rax, %rbx
incl 0x5b30(%rip)            # 0xa174
testq %rax, %rax
jne 0x4670
incl 0x5b1d(%rip)            # 0xa16c
leaq 0x2d54(%rip), %rdi      # 0x73aa
leaq 0x2d6b(%rip), %rsi      # 0x73c8
leaq 0x2f7e(%rip), %rcx      # 0x75e2
movl $0x76, %edx
xorl %eax, %eax
callq 0x2040
incl 0x5afe(%rip)            # 0xa174
cmpb $0x4e, (%rbx)
je 0x46a2
incl 0x5aeb(%rip)            # 0xa16c
leaq 0x2d22(%rip), %rdi      # 0x73aa
leaq 0x2d39(%rip), %rsi      # 0x73c8
leaq 0x2f54(%rip), %rcx      # 0x75ea
movl $0x77, %edx
xorl %eax, %eax
callq 0x2040
incl 0x5acc(%rip)            # 0xa174
movq %rbx, %rdi
callq 0x261c
cmpl $0xa, %eax
je 0x46dc
incl 0x5ab1(%rip)            # 0xa16c
leaq 0x2ce8(%rip), %rdi      # 0x73aa
leaq 0x2cff(%rip), %rsi      # 0x73c8
leaq 0x2f39(%rip), %rcx      # 0x7609
movl $0x78, %edx
xorl %eax, %eax
callq 0x2040
incl 0x5a92(%rip)            # 0xa174
movq %rbx, %rdi
callq 0x2662
leaq 0x312f(%rip), %rsi      # 0x7820
movq %rax, %rdi
callq 0x2080
testl %eax, %eax
je 0x4724
incl 0x5a69(%rip)            # 0xa16c
leaq 0x2ca0(%rip), %rdi      # 0x73aa
leaq 0x2cb7(%rip), %rsi      # 0x73c8
leaq 0x2f00(%rip), %rcx      # 0x7618
movl $0x79, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
addq $0x18, %r14
cmpq %r14, %rdi
je 0x473c
movq (%r14), %rsi
incq %rsi
callq 0x2150
movl $0x30, %esi
movq %rbx, %rdi
callq 0x2150
leaq 0x2ee2(%rip), %rsi      # 0x7632
movq %rsp, %rdi
callq 0x27ec
movq %rax, %r14
movq %rax, %rbx
incl 0x5a10(%rip)            # 0xa174
testq %rax, %rax
jne 0x4790
incl 0x59fd(%rip)            # 0xa16c
leaq 0x2c34(%rip), %rdi      # 0x73aa
leaq 0x2c4b(%rip), %rsi      # 0x73c8
leaq 0x2e5e(%rip), %rcx      # 0x75e2
movl $0x7e, %edx
xorl %eax, %eax
callq 0x2040
incl 0x59de(%rip)            # 0xa174
cmpb $0x4e, (%rbx)
je 0x47c2
incl 0x59cb(%rip)            # 0xa16c
leaq 0x2c02(%rip), %rdi      # 0x73aa
leaq 0x2c19(%rip), %rsi      # 0x73c8
leaq 0x2e34(%rip), %rcx      # 0x75ea
movl $0x7f, %edx
xorl %eax, %eax
callq 0x2040
incl 0x59ac(%rip)            # 0xa174
movq %rbx, %rdi
callq 0x261c
cmpl $0x14, %eax
je 0x47fc
incl 0x5991(%rip)            # 0xa16c
leaq 0x2bc8(%rip), %rdi      # 0x73aa
leaq 0x2bdf(%rip), %rsi      # 0x73c8
leaq 0x2e47(%rip), %rcx      # 0x7637
movl $0x80, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
addq $0x18, %r14
cmpq %r14, %rdi
je 0x4814
movq (%r14), %rsi
incq %rsi
callq 0x2150
movl $0x30, %esi
movq %rbx, %rdi
callq 0x2150
movq %rsp, %rdi
callq 0x2780
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x2780
movq %rbx, %rdi
callq 0x2240