fixed-width-float - display a float in a fixed-width string

  •        15

Return a string s to display the floating point value n in so many bytes.This code works in the browser with browserify.

https://github.com/substack/fixed-width-float

Dependencies:

sprintf : ~0.1.3

Tags
Implementation
License
Platform

   




Related Projects

decimal - Arbitrary-precision fixed-point decimal numbers in go

  •    Go

Arbitrary-precision fixed-point decimal numbers in go.NOTE: can "only" represent numbers with a maximum of 2^31 digits after the decimal point.

SQL floating point compare function

  •    

Comparison of floating point values in SQL Server not always gives the expected result. With this function, comparison is only done on the first 15 significant digits. Since SQL Server only garantees a precision of 15 digits for float datatypes, this is expected to be se...

decimal - A high-performance, arbitrary-precision, floating-point decimal library.

  •    Go

decimal is a high-performance, arbitrary precision, floating-point decimal library implementing the General Decimal Arithmetic specification. decimal uses Semantic Versioning. The current version is 3.3.1.

floatThead - fixed <thead>. Doesn't need any custom css/html. Does what position:sticky can't

  •    Javascript

Float the table header on scroll. No changes to your HTML/CSS are required, it just works. Supports floating the header while scrolling within the window or while scrolling within a container with overflow. Supports responsive tables.http://cdnjs.com/libraries/floatthead/ . http://www.jsdelivr.com/#!jquery.floatthead . https://unpkg.com/floatthead .

Big Float C++

  •    

Floating point arbitrary precision functions. Includes addition, subtraction, multiplication, and division.


decimal.js - An arbitrary-precision Decimal type for JavaScript

  •    Javascript

An arbitrary-precision Decimal type for JavaScript. The library is similar to bignumber.js, but here precision is specified in terms of significant digits rather than decimal places, and all calculations are rounded to the precision (similar to Python's decimal module) rather than just those involving division.

bignumber.js - A JavaScript library for arbitrary-precision decimal and non-decimal arithmetic

  •    Javascript

A JavaScript library for arbitrary-precision decimal and non-decimal arithmetic. If a smaller and simpler library is required see big.js. It's less than half the size but only works with decimal numbers and only has half the methods. It also does not allow NaN or Infinity, or have the configuration options of this library.

big.js - A small, fast JavaScript library for arbitrary-precision decimal arithmetic.

  •    Javascript

A small, fast JavaScript library for arbitrary-precision decimal arithmetic. The little sister to bignumber.js and decimal.js. See here for some notes on the difference between them.

Currency++ Library

  •    C++

Operation with currency values don't work fine with float or double types. This C++ library implements operators in a decimal fixed point (x100) package. This package use only integer type internally multiplied by 100.

hw - RTL, Cmodel, and testbench for NVDLA

  •    Verilog

The NVIDIA Deep Learning Accelerator (NVDLA) is a free and open architecture that promotes a standard way to design deep learning inference accelerators. With its modular architecture, NVDLA is scalable, highly configurable, and designed to simplify integration and portability. Learn more about NVDLA on the project web page. This release, in the nvdlav1 branch, contains the non-configurable "full-precision" version of NVDLA. This non-configurable version is fixed at 2048 8-bit MACs (or 1024 16-bit fixed- or floating-point MACs). This branch is expected to be a stable sustaining release; although bug fixes may be added, new RTL feature improvements will not appear in this branch. Additionally, this branch will diverge from the master branch; commits from that branch may be cherry-picked into this branch, but wholesale merges from master will not appear on nvdlav1.

opentaps = ERP + CRM

  •    Java

opentaps Open Source ERP + CRM, is a fully integrated application suite that supports eCommerce, Customer Relationship Management, Warehouse and Inventory Management, Supply Chain Management, and Financial Management to Business Intelligence and mobility integration out-of-the-box.

OFBiz - Apache Open For Business Project

  •    Java

Apache OFBiz is an open source enterprise automation software project. It means ERP (Enterprise Resource Planning), CRM (Customer RelationShip Management), E-Business / E-Commerce, SCM (Supply Chain Management), MRP (Manufacturing Resources Planning), CMMS/EAM (Maintenance Management System/Enterprise Asset Management), POS (Point Of Sale), and so on.

pulpino - An open-source microcontroller system based on RISC-V

  •    C

PULPino is an open-source single-core microcontroller system, based on 32-bit RISC-V cores developed at ETH Zurich. PULPino is configurable to use either the RISCY or the zero-riscy core. RISCY is an in-order, single-issue core with 4 pipeline stages and it has an IPC close to 1, full support for the base integer instruction set (RV32I), compressed instructions (RV32C) and multiplication instruction set extension (RV32M). It can be configured to have single-precision floating-point instruction set extension (RV32F). It implements several ISA extensions such as: hardware loops, post-incrementing load and store instructions, bit-manipulation instructions, MAC operations, support fixed-point operations, packed-SIMD instructions and the dot product. It has been designed to increase the energy efficiency of in ultra-low-power signal processing applications. RISCY implementes a subset of the 1.9 privileged specification. Further informations can be found in http://ieeexplore.ieee.org/abstract/document/7864441/.

Decimal Floating Point library

  •    Java

Decimal floating point library in Java. Provides decimal floating point math for Java via a clean, easy to understand implementation. Much easier to use than Big Decimal, nearly IEEE-854 compliant. Compatible with J2ME, so it can be used on PDAs/phon

fann.js - FANN compiled through Emscripten

  •    Javascript

The FANN (Fast Artificial Neural Network) library compiled through Emscripten. This library contains some higher level bindings. Much of the original documentation is still relevant. The noticable changes will be documented below. Note not all functions have a binding. You may see mention of Fixed vs Float mode, FANN.js uses Float mode.

SoftwareBotany.Ivy String Utils w/ Quoted Delimited (CSV) & Fixed-Width Parsers

  •    

The Software Botany Ivy project is a library containing various string utilities. Included in the library are fluent APIs for parsing and creating quoted delimited and fixed-width positional text. For example, quoted CSV such as that used by Microsoft Excel is supported. The ...

cutlass - CUDA Templates for Linear Algebra Subroutines

  •    C++

CUTLASS 1.0 is a collection of CUDA C++ template abstractions for implementing high-performance matrix-multiplication (GEMM) at all levels and scales within CUDA. It incorporates strategies for hierarchical decomposition and data movement similar to those used to implement cuBLAS. CUTLASS decomposes these "moving parts" into reusable, modular software components abstracted by C++ template classes. These thread-wide, warp-wide, block-wide, and device-wide primitives can be specialized and tuned via custom tiling sizes, data types, and other algorithmic policy. The resulting flexibility simplifies their use as building blocks within custom kernels and applications. To support a wide variety of applications, CUTLASS provides extensive support for mixed-precision computations, providing specialized data-movement and multiply-accumulate abstractions for 8-bit integer, half-precision floating point (FP16), single-precision floating point (FP32), and double-precision floating point (FP64) types. Furthermore, CUTLASS demonstrates CUDA's WMMA API for targeting the programmable, high-throughput Tensor Cores provided by NVIDIA's Volta architecture and beyond.

mpmath - Python library for arbitrary-precision floating-point arithmetic

  •    Python

A Python library for arbitrary-precision floating-point arithmetic. Numerous other people have contributed by reporting bugs, requesting new features, or suggesting improvements to the documentation.

RecordEditor

  •    Java

Editor for Fixed Width, Csv and Existing Xml files.

UIFloatLabelTextField - A subclassed UITextField that follows the Float Label UI design pattern.

  •    Objective-C

If you are looking for the UITextView equivalent of this class, please visit my UIFloatLabelTextView repository. In 2013, Matt D. Smith unveiled the Float Label user interface design pattern. In short, it retains a text field's placeholder above said text field as a floating label. This label is brightly colored when the field is active, and dimly colored when a user has finished editing that field.