replace x86.T with native.T
This commit is contained in:
parent
e29a5a3475
commit
f67f8c0118
12 changed files with 91 additions and 91 deletions
morphisms
|
@ -3,8 +3,8 @@
|
|||
```
|
||||
|
||||
morph_digit_as_char_to_uint8 (Radix:ℤ)
|
||||
<Digit Radix> ~ Char ~ Ascii ~ x86.UInt8
|
||||
--> <Digit Radix> ~ x86.UInt8
|
||||
<Digit Radix> ~ Char ~ Ascii ~ native.UInt8
|
||||
--> <Digit Radix> ~ native.UInt8
|
||||
```
|
||||
if( *src >= '0' && *src <= '9' )
|
||||
*dst = *src - '0';
|
||||
|
@ -26,8 +26,8 @@ morph_digit_as_char_to_uint8 (Radix:ℤ)
|
|||
```
|
||||
|
||||
morph_digit_as_char_to_uint64 (Radix:ℤ)
|
||||
<Digit Radix> ~ Char ~ Ascii ~ x86.UInt8
|
||||
--> <Digit Radix> ~ x86.UInt64
|
||||
<Digit Radix> ~ Char ~ Ascii ~ native.UInt8
|
||||
--> <Digit Radix> ~ native.UInt64
|
||||
```
|
||||
if( *src >= '0' && *src <= '9' )
|
||||
*dst = *src - '0';
|
||||
|
@ -49,8 +49,8 @@ morph_digit_as_char_to_uint64 (Radix:ℤ)
|
|||
```
|
||||
|
||||
morph_digit_as_uint8_to_char (Radix:ℤ_16)
|
||||
<Digit Radix> ~ x86.UInt8
|
||||
--> <Digit Radix> ~ Char ~ Ascii ~ x86.UInt8
|
||||
<Digit Radix> ~ native.UInt8
|
||||
--> <Digit Radix> ~ Char ~ Ascii ~ native.UInt8
|
||||
```
|
||||
if ( *src < 10 )
|
||||
*dst = *src + '0';
|
||||
|
@ -65,8 +65,8 @@ morph_digit_as_uint8_to_char (Radix:ℤ_16)
|
|||
```
|
||||
|
||||
morph_digit_as_uint64_to_char (Radix:ℤ_16)
|
||||
<Digit Radix> ~ x86.UInt64
|
||||
--> <Digit Radix> ~ Char ~ Ascii ~ x86.UInt8
|
||||
<Digit Radix> ~ native.UInt64
|
||||
--> <Digit Radix> ~ Char ~ Ascii ~ native.UInt8
|
||||
```
|
||||
if ( *src < 10 )
|
||||
*dst = *src + '0';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue