13 dépôts
Use of integer or fixed-point arithmetic to replace floating-point operations in performance-critical embedded code.
Distinct from Integer Arithmetic: Distinct from Integer Arithmetic: focuses on the optimization strategy to replace floats for performance, not just the implementation of arithmetic.
Explore 13 awesome GitHub repositories matching software engineering & architecture · Fixed-Point Math Optimizations. Refine with filters or upvote what's useful.
FastLED is a C++ library for driving pixel-addressable LED chipsets and strips across various microcontroller platforms. It functions as an addressable LED control library and driver abstraction layer that converts color data into specific electrical timing for different hardware protocols. The project includes an audio-reactive visual engine for translating real-time beats and frequency data into synchronized animations, alongside a microcontroller math library optimized for high frame rates. The system provides a unified interface for managing various clockless and SPI LED chipsets. It dist
Replaces floating-point calculations with fixed-point or integer arithmetic to maximize frame rates on low-power hardware.
This project is a 6502 assembly language implementation of a platformer featuring running, jumping, and swordfighting, developed for the Apple II computer between 1985 and 1989. It serves as a piece of legacy retro gaming software designed to run on 8-bit hardware from the early computing era. The repository provides the assembly source code for the purpose of historical technical analysis and research. It allows for the study of original game source to perform technical analysis and historical research into early video games. The project covers domains including 6502 assembly programming, A
Uses fixed-point arithmetic to simulate decimal movement and physics without floating-point hardware support.
This repository contains the original source code for a classic real-time strategy game, serving as a legacy game engine implementation for managing units, maps, and combat mechanics in a military strategy setting. It functions as a real-time strategy game source code archive intended for preservation and technical study. The codebase acts as a game modification base, allowing developers to create custom content and modifications using the original source. It provides a foundation for retro game modding and software archeology to analyze how historical game mechanics were programmed. The pro
Employs fixed-point arithmetic for unit positioning to ensure deterministic behavior across different CPUs.
tbox is a multi-platform C standard library and toolkit designed for portable software development. It provides a core foundation for low-level system programming through a collection of system primitives, data structures, and memory management tools. The project includes a coroutine framework for cooperative multitasking and asynchronous logic, a data structure library featuring generic containers with a consistent iterator interface, and a memory management toolkit for pool allocation and debugging of heap overflows and leaks. It also provides a network and serialization toolset for handlin
Provides a fast mathematical engine using integers and configurable scale factors to avoid floating point hardware overhead.
Tbox est une collection complète de bibliothèques utilitaires de bas niveau et de boîtes à outils pour le développement C portable. Il fournit une bibliothèque utilitaire C multiplateforme qui sert de remplacement léger aux bibliothèques standard, offrant une gestion mémoire optimisée et des abstractions système pour garantir la compatibilité matérielle entre différents systèmes d'exploitation. Le projet se distingue par un framework spécialisé de conteneurs de données standardisés, incluant des tables de hachage, des vecteurs et des listes chaînées avec recherche et tri intégrés. Il fournit en outre une boîte à outils dédiée pour la mise en réseau et la sérialisation, gérant les requêtes HTTP, le chiffrement SSL et la conversion de données entre les formats JSON, XML et binaire. La surface de capacité s'étend à l'exécution de tâches concurrentes via des coroutines et des pools de threads, des abstractions d'appels système unifiées et le rendu graphique 2D. Les fonctionnalités supplémentaires incluent la génération de hash cryptographique, l'exécution d'expressions régulières, l'arithmétique à virgule fixe et la gestion de pool mémoire. La boîte à outils inclut également des outils spécialisés pour le traçage de méthodes Objective-C sur iOS et macOS, ainsi qu'une machine virtuelle capable de traiter des scripts x86.
Provides high-speed fixed-point arithmetic to perform calculations without the overhead of floating-point operations.
OpenLara est un moteur de jeu open source et un émulateur de jeu classique conçu pour charger et exécuter des fichiers de données de jeu originaux provenant de titres d'action-aventure classiques. Il fonctionne comme un runtime de jeu multiplateforme qui permet aux assets de jeux hérités de fonctionner sur du matériel et des systèmes d'exploitation modernes. Le moteur dispose d'un système physique déterministe utilisant des mathématiques de coordonnées à virgule fixe pour assurer un mouvement et un comportement cohérents à travers différents environnements matériels. Le projet incorpore un système d'entités basé sur des composants et un processus de chargement de niveau piloté par les données pour reconstruire la géométrie du monde et les placements d'objets. Sa surface technique couvre la détection de collision basée sur une grille, le mélange d'animations basé sur l'état et un pipeline de rendu abstrait qui sépare la logique de jeu fondamentale de l'API graphique.
Utilizes a fixed-point arithmetic engine to ensure deterministic physics and movement across different hardware environments.
msdfgen est un ensemble d'outils pour convertir des polices, des chemins SVG et des contours vectoriels en représentations d'images de champ de distance monochrome ou multicanal. Il fonctionne comme un outil de texture graphique vectorielle et un rastériseur de glyphes conçu pour maintenir des bords nets à n'importe quelle échelle. Le projet fournit spécifiquement un générateur de champ de distance signé multicanal qui convertit les formes vectorielles et les glyphes de police en textures qui préservent les coins nets et les détails haute fidélité pour le rendu en temps réel. Le système couvre une gamme de capacités de conversion, incluant la transformation de fichiers de police et de chemins SVG en textures de champ de distance. Il inclut des utilitaires pour générer divers types de champs, des prévisualisations visuelles pour la vérification de la précision, et l'exportation des champs de distance résultants dans des formats d'image standard.
Uses fixed-point integer arithmetic to optimize the calculation of pixel proximity to shape boundaries.
srsRAN is a software-defined radio suite for implementing 4G LTE networks. It provides comprehensive software implementations of the core network, base stations, and mobile user equipment. The project includes a lightweight evolved packet core with components for subscriber management and data routing, alongside a full-stack software-defined radio implementation of an eNodeB and mobile device simulation. The system covers radio access network management, core network infrastructure, and user equipment simulation. These capabilities enable the deployment of private cellular networks and the t
Uses compile-time generics to optimize fixed-point and floating-point arithmetic for high-throughput signal processing.
Beyond-All-Reason is a real-time strategy game and 3D military simulation focused on large-scale tactical combat, base building, and resource management. It functions as a competitive multiplayer platform featuring ranked lobbies and skill-based matchmaking. The project includes a custom map editor for designing unique game levels and environments through structural and thematic configuration. The simulation covers military-industrial economy management, including resource extraction and asset recovery. Tactical gameplay involves commanding army formations, using radar for enemy unit detecti
Uses a fixed-point math engine to prevent floating point drift and maintain simulation synchronicity across different hardware.
This project provides custom firmware and a suite of management tools for wireless thermometers and hygrometers. It replaces manufacturer software to improve measurement accuracy, extend battery life, and unlock configuration options not available in stock firmware. The system differentiates itself through a comprehensive set of administration utilities, including a device configurator for managing Bluetooth advertising and transmission power, and an over-the-air flasher for wireless software updates. It also features a climate data visualizer to retrieve and graph historical temperature, hum
Utilizes fixed-point integer arithmetic for temperature and humidity measurements to avoid the need for a floating-point unit.
Resvg est une bibliothèque de rendu SVG à haute conformité et un moteur d'analyse conçu pour convertir des graphiques vectoriels évolutifs en images matricielles. Il fonctionne comme un convertisseur SVG vers matriciel qui résout les arbres XML et gère la transformation des données vectorielles en formats bitmap. Le projet assure une cohérence visuelle multiplateforme en produisant une sortie identique au pixel près, quel que soit le système d'exploitation ou l'architecture CPU. Il se distingue par un moteur de mise en page de texte qui gère la typographie complexe, y compris le réordonnancement bidirectionnel, les modes d'écriture verticaux et les polices emoji couleur. La bibliothèque couvre une large surface de capacités, y compris l'application de feuilles de style CSS externes, le rendu de filtres visuels tels que le flou gaussien et une résolution programmable pour les polices et les images. Elle intègre également des mesures de sécurité pour se protéger contre les attaques par épuisement des ressources en imposant des limites sur la complexité du document et la profondeur d'imbrication.
Implements a rendering engine using fixed-point arithmetic to ensure deterministic, pixel-perfect output across different CPU architectures.
Quake-2 is a game engine designed for the development of first-person shooters and the rendering of three-dimensional environments. It provides the core framework for processing real-time physics and player input within interactive 3D spaces. The engine supports software extensibility, allowing for the direct modification of source code to change gameplay mechanics and engine behaviors. This makes it a resource for retro game engineering and the study of early 3D development techniques. Its technical capabilities include vertex-based software rendering, BSP-tree spatial partitioning, and PVS
Employs fixed-point math simulation to ensure consistent physics and gameplay across different hardware architectures.
Opus is a lossy audio compression standard and codec designed for high-quality speech and music transmission over the internet. It functions as a low-latency audio codec and network-resilient streamer, providing a framework for encoding and decoding digital audio. The project distinguishes itself through the support of multi-channel ambisonics for immersive three-dimensional spatial audio reproduction. It is specifically optimized for real-time interactive communication, utilizing dynamic bitrate adjustment and forward error correction to maintain audio quality on unstable networks. The syst
Uses integer and fixed-point arithmetic to replace floating-point operations for optimized performance on low-power embedded hardware.