Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • U uPython-mirror
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TASTETASTE
  • uPython-mirror
  • Repository
Switch branch/tag
  • uPython-mirror
  • py
  • objint_mpz.c
Find file BlameHistoryPermalink
  • Damien George's avatar
    py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack. · be6d8be9
    Damien George authored Dec 05, 2014
    mp_obj_int_get_truncated is used as a "fast path" int accessor that
    doesn't check for overflow and returns the int truncated to the machine
    word size, ie mp_int_t.
    
    Use mp_obj_int_get_truncated to fix struct.pack when packing maximum word
    sized values.
    
    Addresses issues #779 and #998.
    be6d8be9