Did I find the right examples for you? yes no

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/s/y/Sypy-HEAD/rpython/lltypesystem/lltype.py   Sypy(Download)
import py
from pypy.rlib.rarithmetic import (r_int, r_uint, intmask, r_singlefloat,
                                   r_ulonglong, r_longlong, r_longfloat,
                                   base_int, normalizedinttype, longlongmask)
from pypy.rlib.objectmodel import Symbolic
Float       = Primitive("Float",       0.0)                  # C type 'double'
SingleFloat = Primitive("SingleFloat", r_singlefloat(0.0))   # C type 'float'
LongFloat   = Primitive("LongFloat",   r_longfloat(0.0))     # C type 'long double'
r_singlefloat._TYPE = SingleFloat
 
            return r_singlefloat(value)
        elif TGT == LongFloat:
            return r_longfloat(value)
        value = long(value)
    cast = _to_primitive.get(TGT)

src/s/y/Sypy-HEAD/rpython/lltypesystem/ll2ctypes.py   Sypy(Download)
from pypy.rlib.objectmodel import Symbolic, ComputedIntSymbolic
from pypy.tool.uid import fixid
from pypy.rlib.rarithmetic import r_singlefloat, r_longfloat, base_int, intmask
from pypy.rlib.rarithmetic import is_emulated_long, maxint
from pypy.annotation import model as annmodel
        if isinstance(cobj, ctypes.c_longdouble):
            cobj = cobj.value
        llobj = r_longfloat(cobj)
    elif T is lltype.Void:
        llobj = cobj

src/s/y/Sypy-HEAD/annotation/model.py   Sypy(Download)
from pypy.tool.pairtype import pair, extendabletype
from pypy.rlib.rarithmetic import r_uint, r_ulonglong, base_int
from pypy.rlib.rarithmetic import r_singlefloat, r_longfloat
import inspect, weakref