Test char to int conversion.
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
c2b3cc1a2f
commit
b320d35cf7
|
@ -22,6 +22,7 @@ class Program {
|
||||||
private void testNumbers() {
|
private void testNumbers() {
|
||||||
printf("%%b = '%b'\n", $this->n);
|
printf("%%b = '%b'\n", $this->n);
|
||||||
printf("%%c = '%c'\n", $this->c);
|
printf("%%c = '%c'\n", $this->c);
|
||||||
|
printf("%%d = '%d'\n", $this->c);
|
||||||
printf("%%d = '%d'\n", $this->n);
|
printf("%%d = '%d'\n", $this->n);
|
||||||
printf("%%e = '%e'\n", $this->n);
|
printf("%%e = '%e'\n", $this->n);
|
||||||
printf("%%u = '%u'\n", $this->n);
|
printf("%%u = '%u'\n", $this->n);
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
[many monke]
|
[many monke]
|
||||||
%b = '10100111101010011010101101'
|
%b = '10100111101010011010101101'
|
||||||
%c = 'A'
|
%c = 'A'
|
||||||
|
%d = '65'
|
||||||
%d = '43951789'
|
%d = '43951789'
|
||||||
%e = '4.395179e+07'
|
%e = '4.395179e+07'
|
||||||
%u = '43951789'
|
%u = '43951789'
|
||||||
|
|
Loading…
Reference in New Issue