13 repositorios
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 es una colección integral de librerías de utilidades de bajo nivel y kits de herramientas para el desarrollo portátil en C. Proporciona una librería de utilidades en C multiplataforma que sirve como un reemplazo ligero para las librerías estándar, ofreciendo gestión de memoria optimizada y abstracciones del sistema para asegurar la compatibilidad de hardware entre diferentes sistemas operativos. El proyecto se distingue por un framework especializado de contenedores de datos estandarizados, incluyendo tablas hash, vectores y listas enlazadas con búsqueda y ordenamiento integrados. Además, proporciona un kit de herramientas dedicado para redes y serialización, gestionando peticiones HTTP, cifrado SSL y conversión de datos entre formatos JSON, XML y binarios. La superficie de capacidad se extiende a la ejecución de tareas concurrentes mediante coroutines y pools de hilos, abstracciones unificadas de llamadas al sistema y renderizado de gráficos 2D. La funcionalidad adicional incluye generación de hashes criptográficos, ejecución de expresiones regulares, aritmética de punto fijo y gestión de pools de memoria. El kit de herramientas también incluye herramientas especializadas para el rastreo de métodos de Objective-C en iOS y macOS, así como una máquina virtual capaz de procesar instrucciones de script x86.
Provides high-speed fixed-point arithmetic to perform calculations without the overhead of floating-point operations.
OpenLara es un motor de juego de código abierto y emulador de juegos clásicos diseñado para cargar y ejecutar archivos de datos de juegos originales de títulos clásicos de acción y aventura. Funciona como un runtime de juego multiplataforma que permite que los activos de juegos antiguos se ejecuten en hardware y sistemas operativos modernos. El motor cuenta con un sistema de física determinista que utiliza matemáticas de coordenadas de punto fijo para garantizar un movimiento y comportamiento consistentes en diferentes entornos de hardware. El proyecto incorpora un sistema de entidades basado en componentes y un proceso de carga de niveles basado en datos para reconstruir la geometría del mundo y la colocación de objetos. Su superficie técnica cubre la detección de colisiones basada en cuadrícula, la mezcla de animaciones basada en estados y un pipeline de renderizado abstracto que separa la lógica principal del juego de la API de gráficos.
Utilizes a fixed-point arithmetic engine to ensure deterministic physics and movement across different hardware environments.
msdfgen es un conjunto de herramientas para convertir fuentes, rutas SVG y contornos vectoriales en representaciones de imagen de campo de distancia monocromáticas o multicanal. Funciona como una herramienta de textura de gráficos vectoriales y rasterizador de glifos diseñado para mantener bordes nítidos a cualquier escala. El proyecto proporciona específicamente un generador de campo de distancia con signo multicanal que convierte formas vectoriales y glifos de fuentes en texturas que preservan esquinas nítidas y detalles de alta fidelidad para el renderizado en tiempo real. El sistema cubre una gama de capacidades de conversión, incluyendo la transformación de archivos de fuentes y rutas SVG en texturas de campo de distancia. Incluye utilidades para generar varios tipos de campos, vistas previas visuales para verificación de precisión y exportación de los campos de distancia resultantes a formatos de imagen estándar.
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 is a high-compliance SVG rendering library and parsing engine designed to convert scalable vector graphics into raster images. It functions as an SVG to raster converter that resolves XML trees and manages the transformation of vector data into bitmap formats. The project ensures cross-platform visual consistency by producing identical pixel-perfect output regardless of the operating system or CPU architecture. It distinguishes itself through a text layout engine that handles complex typography, including bidirectional reordering, vertical writing modes, and color emoji fonts. The libr
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.