Python/sysmodule/infos

Search:
Group by:
Source   Edit  

Consts

FloatInfodesc = (name: "sys.float_info", doc: "", fields: [
    (name: "max", doc: "DBL_MAX -- maximum representable finite float"), (
    name: "max_exp",
    doc: "DBL_MAX_EXP -- maximum int e such that radix**(e-1) is representable"), (
    name: "max_10_exp",
    doc: "DBL_MAX_10_EXP -- maximum int e such that 10**e is representable"),
    (name: "min", doc: "DBL_MIN -- Minimum positive normalized float"), (
    name: "min_exp", doc: "DBL_MIN_EXP -- minimum int e such that radix**(e-1) is a normalized float"), (
    name: "min_10_exp", doc: "DBL_MIN_10_EXP -- minimum int e such that 10**e is a normalized float"), (
    name: "dig", doc: "DBL_DIG -- maximum number of decimal digits that can be faithfully represented in a float"),
    (name: "mant_dig", doc: "DBL_MANT_DIG -- mantissa digits"), (
    name: "epsilon",
    doc: "DBL_EPSILON -- Difference between 1 and the next representable float"),
    (name: "radix", doc: "FLT_RADIX -- radix of exponent"), (name: "rounds",
    doc: "FLT_ROUNDS -- rounding mode used for arithmetic operations")],
                 n_in_sequence: 11)
Source   Edit  
HashInfodesc = (name: "sys.hash_info", doc: "", fields: [
    (name: "width", doc: "width of the type used for hashing, in bits"), (
    name: "modulus",
    doc: "prime number giving the modulus on which the hash)function is based"),
    (name: "inf", doc: "value to be used for hash of a positive infinity"),
    (name: "nan", doc: "value to be used for hash of a nan"), (name: "imag",
    doc: "multiplier used for the imaginary part of a complex number"), (
    name: "algorithm",
    doc: "name of the algorithm for hashing of str, bytes and)memoryviews"),
    (name: "hash_bits", doc: "internal output size of hash algorithm"),
    (name: "seed_bits", doc: "seed size of hash algorithm"),
    (name: "cutoff", doc: "small string optimization cutoff")], n_in_sequence: 9)
Source   Edit  
IntInfodesc = (name: "sys.int_info", doc: "", fields: [
    (name: "bits_per_digit", doc: "size of a digit in bits"), (
    name: "sizeof_digit",
    doc: "size in bytes of the C type used to represent a digit"), (
    name: "default_max_str_digits",
    doc: "maximum string conversion digits limitation"), (
    name: "str_digits_check_threshold",
    doc: "minimum positive value for int_max_str_digits")], n_in_sequence: 4)
Source   Edit  
VersionInfodesc = (name: "sys.version_info", doc: "", fields: [
    (name: "major", doc: "Major release number"),
    (name: "minor", doc: "Minor release number"),
    (name: "micro", doc: "Patch release number"), (name: "releaselevel",
    doc: "\'alpha\', \'beta\', \'candidate\', or \'final\'"),
    (name: "serial", doc: "Serial release number")], n_in_sequence: 5)
Source   Edit  

Procs

proc getFloatInfo(): PyObject {....raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc getHashInfo(): PyObject {....raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc getIntInfo(): PyObject {....raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc getVersionInfo(): PyObject {....raises: [], tags: [RootEffect], forbids: [].}
Source   Edit