Handbook
Glossary
<CFNumber> ( number -- alien )
Vocabulary
core-foundation
.
numbers
Inputs
number
an
object
Outputs
alien
an
object
Definition
IN:
core-foundation.numbers
GENERIC:
<CFNumber>
( number -- alien )
Methods
USING:
alien.c-types
alien.data
core-foundation.numbers
kernel
;
M:
f
<CFNumber>
drop
f
kCFNumberIntType
0
int
<ref>
CFNumberCreate
;
USING:
alien.c-types
alien.data
core-foundation.numbers
kernel
math
;
M:
float
<CFNumber>
[
f
kCFNumberDoubleType
]
dip
double
<ref>
CFNumberCreate
;
USING:
alien.c-types
alien.data
core-foundation.numbers
kernel
math
;
M:
integer
<CFNumber>
[
f
kCFNumberLongLongType
]
dip
longlong
<ref>
CFNumberCreate
;
USING:
alien.c-types
alien.data
core-foundation.numbers
kernel
;
M:
t
<CFNumber>
drop
f
kCFNumberIntType
1
int
<ref>
CFNumberCreate
;