// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
subq $0x10, %rsp
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x246c
leaq 0x37ff(%rip), %rsi      # 0x795f
movq %rbx, %rdi
callq 0x24ce
movq %rax, %rbx
movl 0x6023(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x601b(%rip)      # 0xa194
testq %rbx, %rbx
jne 0x41a9
incl 0x6008(%rip)            # 0xa18c
leaq 0x321c(%rip), %rdi      # 0x73a7
leaq 0x3233(%rip), %rsi      # 0x73c5
leaq 0x3446(%rip), %rcx      # 0x75df
pushq $0x6f
popq %rdx
xorl %eax, %eax
callq 0x2040
movl 0x5feb(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5fe3(%rip)      # 0xa194
cmpb $0x4e, (%rbx)
je 0x41e1
incl 0x5fd0(%rip)            # 0xa18c
leaq 0x31e4(%rip), %rdi      # 0x73a7
leaq 0x31fb(%rip), %rsi      # 0x73c5
leaq 0x3416(%rip), %rcx      # 0x75e7
pushq $0x70
popq %rdx
xorl %eax, %eax
callq 0x2040
movl 0x5fb3(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5fab(%rip)      # 0xa194
movq %rbx, %rdi
callq 0x23ac
cmpl $0x1, %eax
je 0x421b
incl 0x5f90(%rip)            # 0xa18c
leaq 0x31a4(%rip), %rdi      # 0x73a7
leaq 0x31bb(%rip), %rsi      # 0x73c5
leaq 0x33e3(%rip), %rcx      # 0x75f4
pushq $0x71
popq %rdx
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
addq $0x8, %rdi
callq 0x20e0
pushq $0x30
popq %rsi
movq %rbx, %rdi
callq 0x2160
leaq 0x33c9(%rip), %rsi      # 0x7602
leaq 0x8(%rsp), %rdi
callq 0x24ce
movq %rax, %rbx
movl 0x5f48(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5f40(%rip)      # 0xa194
testq %rbx, %rbx
jne 0x4284
incl 0x5f2d(%rip)            # 0xa18c
leaq 0x3141(%rip), %rdi      # 0x73a7
leaq 0x3158(%rip), %rsi      # 0x73c5
leaq 0x336b(%rip), %rcx      # 0x75df
pushq $0x76
popq %rdx
xorl %eax, %eax
callq 0x2040
movl 0x5f10(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5f08(%rip)      # 0xa194
cmpb $0x4e, (%rbx)
je 0x42bc
incl 0x5ef5(%rip)            # 0xa18c
leaq 0x3109(%rip), %rdi      # 0x73a7
leaq 0x3120(%rip), %rsi      # 0x73c5
leaq 0x333b(%rip), %rcx      # 0x75e7
pushq $0x77
popq %rdx
xorl %eax, %eax
callq 0x2040
movl 0x5ed8(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5ed0(%rip)      # 0xa194
movq %rbx, %rdi
callq 0x23ac
cmpl $0xa, %eax
je 0x42f6
incl 0x5eb5(%rip)            # 0xa18c
leaq 0x30c9(%rip), %rdi      # 0x73a7
leaq 0x30e0(%rip), %rsi      # 0x73c5
leaq 0x331a(%rip), %rcx      # 0x7606
pushq $0x78
popq %rdx
xorl %eax, %eax
callq 0x2040
incl 0x5e98(%rip)            # 0xa194
movq %rbx, %rdi
callq 0x23f2
leaq 0x3512(%rip), %rsi      # 0x781d
movq %rax, %rdi
callq 0x2090
testl %eax, %eax
je 0x433c
incl 0x5e6f(%rip)            # 0xa18c
leaq 0x3083(%rip), %rdi      # 0x73a7
leaq 0x309a(%rip), %rsi      # 0x73c5
leaq 0x32e3(%rip), %rcx      # 0x7615
pushq $0x79
popq %rdx
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
addq $0x8, %rdi
callq 0x20e0
pushq $0x30
popq %rsi
movq %rbx, %rdi
callq 0x2160
leaq 0x32d5(%rip), %rsi      # 0x762f
leaq 0x8(%rsp), %rdi
callq 0x24ce
movq %rax, %rbx
movl 0x5e27(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5e1f(%rip)      # 0xa194
testq %rbx, %rbx
jne 0x43a5
incl 0x5e0c(%rip)            # 0xa18c
leaq 0x3020(%rip), %rdi      # 0x73a7
leaq 0x3037(%rip), %rsi      # 0x73c5
leaq 0x324a(%rip), %rcx      # 0x75df
pushq $0x7e
popq %rdx
xorl %eax, %eax
callq 0x2040
movl 0x5def(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5de7(%rip)      # 0xa194
cmpb $0x4e, (%rbx)
je 0x43dd
incl 0x5dd4(%rip)            # 0xa18c
leaq 0x2fe8(%rip), %rdi      # 0x73a7
leaq 0x2fff(%rip), %rsi      # 0x73c5
leaq 0x321a(%rip), %rcx      # 0x75e7
pushq $0x7f
popq %rdx
xorl %eax, %eax
callq 0x2040
movl 0x5db7(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5daf(%rip)      # 0xa194
movq %rbx, %rdi
callq 0x23ac
cmpl $0x14, %eax
je 0x4419
incl 0x5d94(%rip)            # 0xa18c
leaq 0x2fa8(%rip), %rdi      # 0x73a7
leaq 0x2fbf(%rip), %rsi      # 0x73c5
leaq 0x3227(%rip), %rcx      # 0x7634
movl $0x80, %edx
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
addq $0x8, %rdi
callq 0x20e0
pushq $0x30
popq %rsi
movq %rbx, %rdi
callq 0x2160
leaq 0x8(%rsp), %rdi
callq 0x2472
addq $0x10, %rsp
popq %rbx
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2472
movq %rbx, %rdi
callq 0x2280