Tag

high-precision

1 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Sep 3, 2024 · Fundamentals

Using Python's decimal Module for Precise Decimal Arithmetic

This article introduces Python's decimal module, explains its importance for high‑precision calculations, and provides step‑by‑step examples covering basic creation, arithmetic operations, precision control, rounding, formatting, division, comparisons, advanced contexts, and custom rounding modes.

ArithmeticDecimalhigh-precision
0 likes · 5 min read
Using Python's decimal Module for Precise Decimal Arithmetic
IT Services Circle
IT Services Circle
Mar 23, 2022 · Operations

Understanding High‑Precision Timer Scheduling in Java and Linux Kernels

The article explores why absolute‑precision periodic tasks are hard to achieve, compares Java Timer and ScheduledExecutorService with Linux kernel mechanisms such as DelayedWorkQueue, futex, pthread_cond_timedwait, and high‑resolution hrtimers, and explains the underlying data structures and timing‑wheel algorithms.

JavaKernelLinux
0 likes · 11 min read
Understanding High‑Precision Timer Scheduling in Java and Linux Kernels