Tagged articles
86 articles
Page 1 of 1
Java Architect Essentials
Java Architect Essentials
Apr 22, 2026 · Fundamentals

Beware of BigDecimal Pitfalls: When Precision Errors Can Cost You

This article explains why using Java's BigDecimal for high‑precision calculations requires careful constructor selection, demonstrates the hidden errors of the double‑based constructor, shows how to format and compare values, and provides a utility class with safe arithmetic methods.

ArithmeticBigDecimalNumberFormat
0 likes · 24 min read
Beware of BigDecimal Pitfalls: When Precision Errors Can Cost You
AI Engineer Programming
AI Engineer Programming
Apr 20, 2026 · Artificial Intelligence

Evaluating Retriever Quality in RAG: Essential Metrics for Production Reliability

The article explains why retrieval quality dominates RAG performance and outlines a rigorous evaluation framework—including prompt, ranked results, and ground‑truth annotations—and detailed metrics such as Precision, Recall, MAP@K, NDCG@K, MRR, and F‑scores, while discussing chunking strategies, embedding choices, hybrid retrieval, and CI/CD‑driven monitoring to ensure production reliability.

LLMMAPNDCG
0 likes · 12 min read
Evaluating Retriever Quality in RAG: Essential Metrics for Production Reliability
Java Web Project
Java Web Project
Mar 17, 2026 · Fundamentals

Why the String Constructor Makes BigDecimal Precise While Double Fails

This article explains how Java's BigDecimal class provides exact arithmetic for numbers beyond double's 16‑digit limit, demonstrates the pitfalls of using the double constructor with concrete examples, and guides developers through constructors, common methods, formatting, exception handling, and a utility class for high‑precision calculations.

ArithmeticBigDecimalNumberFormat
0 likes · 27 min read
Why the String Constructor Makes BigDecimal Precise While Double Fails
Architect's Must-Have
Architect's Must-Have
Jul 25, 2025 · Backend Development

Avoid Common BigDecimal Pitfalls in Java: 4 Critical Mistakes and Fixes

This article outlines four common pitfalls when using Java's BigDecimal for high‑precision calculations—constructing from floating‑point literals, using equals for comparison, losing precision in division, and rounding issues—and provides practical solutions such as using string constructors, compareTo, specifying scale and rounding mode.

BigDecimalfloating-pointprecision
0 likes · 5 min read
Avoid Common BigDecimal Pitfalls in Java: 4 Critical Mistakes and Fixes
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 11, 2025 · Fundamentals

Understanding Java BigDecimal: How It Guarantees Precision

This article explains the Java BigDecimal class, its internal fields, and how its addition method scales numbers to maintain precision, illustrated with code examples and debugging insights, concluding that BigDecimal performs arithmetic using scaled long integers to avoid precision loss.

ArithmeticBigDecimaljava
0 likes · 6 min read
Understanding Java BigDecimal: How It Guarantees Precision
ITPUB
ITPUB
Mar 8, 2025 · Backend Development

Why Does 2.01 Turn Into 2.00? Avoid Double Precision Bugs in Money Calculations

The article explains how using double for monetary values can cause precision loss—turning 2.01 into 2.00—illustrates the binary representation issue, demonstrates failing code, and presents a robust solution using Java's BigDecimal with sample conversion methods and performance tests.

BigDecimalMoneyfloating-point
0 likes · 6 min read
Why Does 2.01 Turn Into 2.00? Avoid Double Precision Bugs in Money Calculations
macrozheng
macrozheng
Feb 25, 2025 · Fundamentals

Why double Is Inaccurate and How to Use BigDecimal Correctly in Java

This article explains why double precision numbers cannot represent many decimal values exactly, how BigDecimal achieves precise arithmetic through unscaled values and scale, and the proper ways to construct BigDecimal objects to avoid precision loss in Java applications.

BigDecimalfloating-pointprecision
0 likes · 10 min read
Why double Is Inaccurate and How to Use BigDecimal Correctly in Java
DataFunSummit
DataFunSummit
Jan 24, 2025 · Artificial Intelligence

Challenges and Debugging Strategies for FP8 Training of Large Models

The article explains the performance benefits of using FP8 for large‑model training, outlines three main categories of FP8‑related issues such as loss spikes, divergence, and downstream metric gaps, and introduces a dedicated FP8 debug tool with metrics like MSE, cosine similarity, underflow, and overflow to help diagnose and resolve these problems.

FP8Nvidiaai
0 likes · 9 min read
Challenges and Debugging Strategies for FP8 Training of Large Models
Java Tech Enthusiast
Java Tech Enthusiast
Jan 19, 2025 · Databases

A Low‑Level Bug Caused by Decimal Precision Mistake: Lessons on Code Review, Testing, and Process

A simple typo that changed a daily interest rate from 0.00006944444 to 0.00069444444 inflated calculated interest tenfold, went unnoticed because the author self‑approved the SQL update and testing only checked syntax, and the incident underscores the need for rigorous code review, testing, and change‑management procedures for critical data.

BackendCode reviewbug
0 likes · 12 min read
A Low‑Level Bug Caused by Decimal Precision Mistake: Lessons on Code Review, Testing, and Process
IT Services Circle
IT Services Circle
Dec 10, 2024 · Fundamentals

Six Common Mistakes When Using Java BigDecimal and How to Avoid Them

This article explains six typical pitfalls when using Java's BigDecimal for precise calculations—such as initializing with floating‑point literals, neglecting scale in division, misusing equals, confusing scale with precision, ignoring immutability, and performance overhead—and provides clear code‑based solutions to each problem.

ArithmeticBigDecimalbest practices
0 likes · 7 min read
Six Common Mistakes When Using Java BigDecimal and How to Avoid Them
Su San Talks Tech
Su San Talks Tech
Dec 6, 2024 · Fundamentals

6 Common BigDecimal Mistakes in Java and How to Avoid Them

This article explains six typical pitfalls when using Java's BigDecimal—such as initializing with floating‑point literals, ignoring scale in division, misusing equals, misunderstanding scale, overlooking immutability, and performance costs—and provides clear code examples and best‑practice solutions to prevent precision loss and inefficiency.

ArithmeticBigDecimaljava
0 likes · 7 min read
6 Common BigDecimal Mistakes in Java and How to Avoid Them
Code Ape Tech Column
Code Ape Tech Column
Oct 25, 2024 · Fundamentals

Understanding Why BigDecimal Preserves Precision in Java

This article explains how Java's BigDecimal class maintains exact decimal precision by scaling numbers to long integers, detailing its internal fields, demonstrating addition with sample code, and analyzing the underlying add method logic to show why no precision is lost.

ArithmeticBackendBigDecimal
0 likes · 6 min read
Understanding Why BigDecimal Preserves Precision in Java
Architecture Digest
Architecture Digest
Sep 27, 2024 · Fundamentals

Comprehensive Guide to Java BigDecimal: Overview, Constructors, Common Methods, Formatting, and Pitfalls

This article provides an in‑depth introduction to Java's BigDecimal class, covering its purpose for high‑precision arithmetic, frequently used constructors, essential arithmetic and conversion methods, comparison techniques, number‑formatting examples, common exceptions during division, and a utility class that encapsulates typical operations.

ArithmeticBigDecimalNumber Formatting
0 likes · 14 min read
Comprehensive Guide to Java BigDecimal: Overview, Constructors, Common Methods, Formatting, and Pitfalls
IT Architects Alliance
IT Architects Alliance
Jul 29, 2024 · Fundamentals

Understanding Java BigDecimal: Overview, Constructors, Methods, Formatting, and Common Issues

This article explains Java's BigDecimal class, covering its purpose for high‑precision arithmetic, common constructors, essential methods such as add, subtract, multiply, divide, comparison, formatting with NumberFormat, handling of division exceptions, and provides a utility class with static arithmetic operations for accurate calculations.

ArithmeticBigDecimalException
0 likes · 15 min read
Understanding Java BigDecimal: Overview, Constructors, Methods, Formatting, and Common Issues
Architect
Architect
Jul 22, 2024 · Fundamentals

Understanding and Using Java BigDecimal for Precise Arithmetic

This article introduces Java's BigDecimal class, explains its purpose for high-precision arithmetic beyond double's limits, details constructors, common methods, formatting, comparison, and exception handling, and provides practical code examples and a utility class for accurate mathematical operations.

ArithmeticBigDecimalNumberFormat
0 likes · 15 min read
Understanding and Using Java BigDecimal for Precise Arithmetic
Top Architect
Top Architect
Jun 28, 2024 · Fundamentals

Understanding and Using Java BigDecimal for Precise Arithmetic

This article explains the purpose, constructors, common methods, formatting techniques, and exception handling of Java's BigDecimal class, providing code examples and best‑practice recommendations for performing high‑precision calculations in Java applications.

ArithmeticBigDecimaljava
0 likes · 17 min read
Understanding and Using Java BigDecimal for Precise Arithmetic
Architect's Guide
Architect's Guide
Jun 24, 2024 · Fundamentals

Comprehensive Guide to Java BigDecimal: Overview, Constructors, Methods, Formatting, and Common Pitfalls

This article explains Java's BigDecimal class, covering its purpose for high‑precision arithmetic, recommended constructors, key arithmetic methods, comparison techniques, formatting with NumberFormat, handling of division exceptions, and best‑practice tips such as using the String constructor and managing immutability.

ArithmeticBigDecimalException
0 likes · 13 min read
Comprehensive Guide to Java BigDecimal: Overview, Constructors, Methods, Formatting, and Common Pitfalls
Java Tech Enthusiast
Java Tech Enthusiast
Jun 14, 2024 · Fundamentals

Understanding and Using Java BigDecimal for Precise Calculations

Java's BigDecimal class offers arbitrary‑precision decimal arithmetic, requiring method calls like add, subtract, multiply, and divide instead of operators, and should be instantiated via String or valueOf to avoid double‑precision errors, with careful handling of scaling, rounding, formatting, and comparison for exact financial calculations.

ArithmeticBigDecimalNumberFormat
0 likes · 14 min read
Understanding and Using Java BigDecimal for Precise Calculations
Top Architect
Top Architect
Jun 8, 2024 · Backend Development

Comprehensive Guide to Java BigDecimal: Overview, Constructors, Methods, Formatting, Exceptions, and Utilities

This article provides an in‑depth tutorial on Java's BigDecimal class, covering its purpose, common constructors, essential arithmetic methods, comparison techniques, formatting with NumberFormat, handling of division exceptions, and a utility class offering precise add, subtract, multiply, divide, rounding, and comparison operations.

ArithmeticBigDecimalUtilityMethods
0 likes · 16 min read
Comprehensive Guide to Java BigDecimal: Overview, Constructors, Methods, Formatting, Exceptions, and Utilities
Java Tech Enthusiast
Java Tech Enthusiast
May 13, 2024 · Backend Development

Understanding Java BigDecimal Precision Mechanism

The article explains how Java’s BigDecimal class maintains exact financial precision by storing numbers as an unscaled integer and a scale, scaling operands to a common decimal place, performing integer arithmetic—including handling differing scales—and finally reconstructing a correctly scaled result.

ArithmeticBigDecimaljava
0 likes · 7 min read
Understanding Java BigDecimal Precision Mechanism
Selected Java Interview Questions
Selected Java Interview Questions
Jan 1, 2024 · Backend Development

Comprehensive Guide to Java BigDecimal: Overview, Constructors, Common Methods, Formatting, and Exceptions

This article provides an in‑depth overview of Java's BigDecimal class, covering its purpose for high‑precision arithmetic, frequently used constructors, essential methods for arithmetic and conversion, techniques for formatting numbers, handling of common exceptions, and includes practical code examples and a utility class for precise calculations.

ArithmeticBigDecimalExceptions
0 likes · 16 min read
Comprehensive Guide to Java BigDecimal: Overview, Constructors, Common Methods, Formatting, and Exceptions
IT Services Circle
IT Services Circle
Dec 23, 2023 · Fundamentals

Understanding Floating‑Point Precision Issues in Python and How to Handle Them

The article explains why Python’s 0.1 + 0.2 does not equal 0.3 due to binary representation limits, discusses the impact of tiny rounding errors on equality checks, and recommends using tolerance thresholds or the Decimal module (initialized with strings) for accurate numeric computations, especially in finance.

DecimalNumerical ComparisonPython
0 likes · 3 min read
Understanding Floating‑Point Precision Issues in Python and How to Handle Them
macrozheng
macrozheng
Nov 29, 2023 · Backend Development

Why BigDecimal Is the Safest Choice for Money Calculations in Java

This article explains why using Java's BigDecimal for monetary values ensures precise, immutable, and correctly rounded calculations, compares it with float, double, long, and int, and provides best‑practice code examples for constructing, computing, and formatting financial numbers.

BigDecimalMonetary Calculationsjava
0 likes · 8 min read
Why BigDecimal Is the Safest Choice for Money Calculations in Java
360 Quality & Efficiency
360 Quality & Efficiency
Sep 1, 2023 · Fundamentals

Understanding Floating-Point Representation, Issues, and Solutions

This article explains how floating‑point numbers are represented in computers using IEEE‑754, illustrates conversion from decimal to binary, describes single‑ and double‑precision formats, outlines common precision, rounding, comparison, overflow, and associativity problems, and presents practical solutions such as high‑precision decimal types, integer scaling, and specialized libraries.

DecimalIEEE754Software Testing
0 likes · 9 min read
Understanding Floating-Point Representation, Issues, and Solutions
Architecture Digest
Architecture Digest
Aug 18, 2023 · Backend Development

Comprehensive Guide to Java BigDecimal: Constructors, Methods, Formatting, and Common Pitfalls

This article explains Java's BigDecimal class, covering its purpose for high‑precision arithmetic, the most frequently used constructors, essential instance methods, comparison techniques, formatting with NumberFormat, handling of division exceptions, and a utility class that wraps common operations, all illustrated with concrete code examples.

ArithmeticBigDecimalformatting
0 likes · 15 min read
Comprehensive Guide to Java BigDecimal: Constructors, Methods, Formatting, and Common Pitfalls
Architecture Digest
Architecture Digest
May 10, 2023 · Fundamentals

Comprehensive Guide to Java BigDecimal: Overview, Constructors, Methods, Formatting, and Common Exceptions

This article provides an in‑depth tutorial on Java's BigDecimal class, covering its purpose for high‑precision arithmetic, common constructors, usage pitfalls, essential methods, number formatting with NumberFormat, handling of division exceptions, and a recommended utility class for precise calculations.

ArithmeticBigDecimalNumberFormat
0 likes · 15 min read
Comprehensive Guide to Java BigDecimal: Overview, Constructors, Methods, Formatting, and Common Exceptions
Top Architect
Top Architect
Mar 20, 2023 · Backend Development

Comprehensive Guide to Java BigDecimal: Overview, Constructors, Methods, Formatting, and Common Exceptions

This article explains Java's BigDecimal class for high‑precision arithmetic, covering its purpose, common constructors, usage examples, essential arithmetic and comparison methods, formatting techniques with NumberFormat, handling of division exceptions, and a summary of best practices with a utility class example.

ArithmeticBigDecimalformatting
0 likes · 16 min read
Comprehensive Guide to Java BigDecimal: Overview, Constructors, Methods, Formatting, and Common Exceptions
Java High-Performance Architecture
Java High-Performance Architecture
Dec 25, 2022 · Backend Development

Mastering Java BigDecimal: Precise Calculations, Constructors, and Common Pitfalls

This article provides a comprehensive guide to Java's BigDecimal class, covering its purpose for high‑precision arithmetic, common constructors, usage pitfalls with double values, essential methods, comparison techniques, formatting options, exception handling, and a utility class for everyday operations.

ArithmeticBigDecimalbackend-development
0 likes · 19 min read
Mastering Java BigDecimal: Precise Calculations, Constructors, and Common Pitfalls
Java Architect Essentials
Java Architect Essentials
Dec 7, 2022 · Backend Development

Comprehensive Guide to Java BigDecimal: Constructors, Methods, Formatting, and Common Pitfalls

This article explains Java's BigDecimal class, covering its purpose for high‑precision arithmetic, common constructors, essential methods such as add, subtract, multiply, divide, formatting techniques, handling of non‑terminating decimals, and provides a utility class with examples and best‑practice recommendations for developers.

ArithmeticBigDecimalJavaMath
0 likes · 15 min read
Comprehensive Guide to Java BigDecimal: Constructors, Methods, Formatting, and Common Pitfalls
Sanyou's Java Diary
Sanyou's Java Diary
Dec 5, 2022 · Backend Development

Avoid Costly Bugs: Mastering BigDecimal Pitfalls in Java

This article explains why using Java's BigDecimal is essential for precise financial calculations, outlines four common pitfalls—including floating-point errors, equality comparison, scale handling, and string conversion—and provides practical best-practice solutions with code examples and rounding mode guidance.

BigDecimalFinancial-CalculationsRoundingMode
0 likes · 14 min read
Avoid Costly Bugs: Mastering BigDecimal Pitfalls in Java
IT Services Circle
IT Services Circle
Aug 30, 2022 · Backend Development

Understanding Java BigDecimal: Solving Floating‑Point Precision Problems

This article explains why floating‑point numbers lose precision in binary representation, demonstrates the issue with Java float examples, and shows how to use the BigDecimal class—including creation, arithmetic operations, scaling, and proper equality comparison—to achieve exact decimal calculations in Java applications.

ArithmeticBigDecimalComparison
0 likes · 8 min read
Understanding Java BigDecimal: Solving Floating‑Point Precision Problems
Cognitive Technology Team
Cognitive Technology Team
Jul 30, 2022 · Fundamentals

Common Pitfalls of java.math.BigDecimal and How to Avoid Them

This article explains several common mistakes when using Java's BigDecimal—such as constructing it with a double, using valueOf, relying on equals for comparison, and misusing round—and provides correct alternatives like string constructors, valueOf with proper precision, compareTo, and setScale for reliable arithmetic.

BigDecimalbest practicesfloating-point
0 likes · 6 min read
Common Pitfalls of java.math.BigDecimal and How to Avoid Them
Java Backend Technology
Java Backend Technology
Jul 29, 2022 · Backend Development

Avoid the Top 5 BigDecimal Pitfalls in Java Money Calculations

This article explains five common BigDecimal traps—including constructor precision loss, equals vs compareTo, division exceptions, string conversion quirks, and operation order—provides code examples, and recommends using the JSR‑354 Money API with Maven for safer monetary calculations in Java backend development.

BackendBigDecimalJSR 354
0 likes · 8 min read
Avoid the Top 5 BigDecimal Pitfalls in Java Money Calculations
Senior Brother's Insights
Senior Brother's Insights
Jul 18, 2022 · Fundamentals

Avoid Costly Money Bugs: Mastering Java BigDecimal Pitfalls and Best Practices

This article explains why floating‑point types cause precision errors in financial calculations, reveals four common BigDecimal pitfalls—including constructor misuse, equality comparison, division precision, and string conversion—and provides concrete best‑practice solutions such as using String constructors, compareTo, specifying scale, and appropriate formatting methods.

BigDecimalFinancialRoundingMode
0 likes · 14 min read
Avoid Costly Money Bugs: Mastering Java BigDecimal Pitfalls and Best Practices
ELab Team
ELab Team
Jul 14, 2022 · Frontend Development

Why JavaScript’s toFixed Fails at Precise Rounding and How to Fix It

JavaScript’s built‑in toFixed cannot reliably perform true rounding due to binary floating‑point precision limits, so this article explains the underlying IEEE‑754 representation, demonstrates common pitfalls, and provides a custom rounding algorithm with code examples to achieve accurate decimal rounding.

IEEE-754Roundingfloating-point
0 likes · 10 min read
Why JavaScript’s toFixed Fails at Precise Rounding and How to Fix It
Model Perspective
Model Perspective
Jun 22, 2022 · Artificial Intelligence

Understanding Model Performance: Precision, Recall, and F1 Score Explained

This article explains how to evaluate classification models by moving beyond simple accuracy to using confusion matrices, precision, recall, and the F1 score, illustrating their trade‑offs and when each metric is most appropriate for different real‑world scenarios.

F1 scoreclassificationconfusion matrix
0 likes · 4 min read
Understanding Model Performance: Precision, Recall, and F1 Score Explained
Java Architect Essentials
Java Architect Essentials
Jun 9, 2022 · Backend Development

Understanding BigDecimal Precision Issues and Proper Usage in Java

This article explains why using floating‑point types for monetary calculations can cause precision loss, demonstrates the problem with BigDecimal constructors, analyzes the underlying double‑to‑long conversion, and provides a utility class with safe BigDecimal operations for backend Java applications.

BigDecimalFinancial-Calculationsprecision
0 likes · 9 min read
Understanding BigDecimal Precision Issues and Proper Usage in Java
Programmer DD
Programmer DD
Jun 8, 2022 · Fundamentals

Why BigDecimal Can Lose Precision: A Real-World Checkout Failure Explained

This article analyzes a checkout‑system outage caused by BigDecimal precision loss, reproduces the bug with Java code, explains the underlying double‑to‑long conversion issue, and recommends using String‑based construction for accurate monetary calculations.

BigDecimalFinancial-Calculationsfloating-point
0 likes · 6 min read
Why BigDecimal Can Lose Precision: A Real-World Checkout Failure Explained
Java Captain
Java Captain
Jun 7, 2022 · Fundamentals

Understanding BigDecimal Precision Issues in Monetary Calculations and a Utility Class for Accurate Operations

This article explains why using floating‑point types with BigDecimal can cause precision loss in financial calculations, demonstrates the problem with sample code, analyzes the underlying double‑to‑long conversion, and provides a reusable Java utility class to perform accurate arithmetic with BigDecimal.

BigDecimalFinancialfloating-point
0 likes · 8 min read
Understanding BigDecimal Precision Issues in Monetary Calculations and a Utility Class for Accurate Operations
Java High-Performance Architecture
Java High-Performance Architecture
Apr 16, 2022 · Backend Development

Mastering Java BigDecimal: Precise Calculations, Common Pitfalls, and Best Practices

This article explains Java's BigDecimal class, covering its purpose for high‑precision arithmetic, recommended constructors, essential methods, comparison techniques, formatting with NumberFormat, handling of division exceptions, and practical tips for efficient and accurate numeric computations.

ArithmeticBigDecimalException
0 likes · 14 min read
Mastering Java BigDecimal: Precise Calculations, Common Pitfalls, and Best Practices
Selected Java Interview Questions
Selected Java Interview Questions
Apr 3, 2022 · Fundamentals

Comprehensive Guide to Java BigDecimal: Overview, Constructors, Common Methods, Formatting, and Pitfalls

This article provides an in‑depth overview of Java's BigDecimal class, covering its purpose for high‑precision arithmetic, essential constructors, key methods for addition, subtraction, multiplication, division, formatting techniques, common exceptions, and practical utility code examples.

ArithmeticBigDecimalException
0 likes · 15 min read
Comprehensive Guide to Java BigDecimal: Overview, Constructors, Common Methods, Formatting, and Pitfalls
Tencent Cloud Developer
Tencent Cloud Developer
Sep 2, 2021 · Databases

Understanding Geohash: Principles, Implementation, and Applications

Geohash encodes latitude‑longitude pairs into short base‑32 strings by recursively bisecting coordinate ranges and interleaving bits, allowing fast proximity queries via prefix matching, with precision controlled by string length, and is supported natively in Redis and useful for location‑based services.

GeoHashPHPSpatial Indexing
0 likes · 12 min read
Understanding Geohash: Principles, Implementation, and Applications
Programmer DD
Programmer DD
Aug 1, 2021 · Backend Development

Master Precise Calculations in Java: A Deep Dive into BigDecimal

This article explains why Java's BigDecimal class is essential for exact arithmetic beyond double's 16‑digit limit, details its constructors, common methods, formatting techniques, handling of division exceptions, and provides a utility class with high‑precision operations, all illustrated with clear code examples.

ArithmeticBigDecimalNumberFormat
0 likes · 15 min read
Master Precise Calculations in Java: A Deep Dive into BigDecimal
DataFunTalk
DataFunTalk
May 17, 2021 · Artificial Intelligence

Comprehensive Overview of Machine Learning Model Evaluation Metrics

This article provides a comprehensive summary of machine learning model evaluation metrics, covering accuracy, precision, recall, F1, RMSE, ROC/AUC, KS test, and scoring cards, with explanations, formulas, code examples, and practical considerations for model performance assessment.

AUCKSModel Evaluation
0 likes · 19 min read
Comprehensive Overview of Machine Learning Model Evaluation Metrics
Sohu Tech Products
Sohu Tech Products
Apr 14, 2021 · Artificial Intelligence

Evaluating Machine Learning Model Performance Before Production: An Employee Attrition Case Study

This tutorial walks through a complete workflow for assessing machine‑learning models—using a Kaggle HR attrition dataset, comparing Random Forest and Gradient Boosting via ROC‑AUC, precision, recall and segment analysis with the Evidently library—to decide which model is ready for production deployment.

Model EvaluationROC AUCemployee attrition
0 likes · 17 min read
Evaluating Machine Learning Model Performance Before Production: An Employee Attrition Case Study
DevOps
DevOps
Feb 20, 2021 · Artificial Intelligence

Intelligent Closed Loop: The Four Transformations Driving the Digital Era

In this talk, Liang Ning explores how the four "‑ization" of an intelligent closed loop—dynamic data, systematic scenarios, algorithmic business logic, and service delivery—reshape personal fitness, smart commerce, and the broader digital society, illustrating the shift from mere data collection to truly intelligent enterprises.

Data‑DrivenIntelligent LoopNetwork Effect
0 likes · 16 min read
Intelligent Closed Loop: The Four Transformations Driving the Digital Era
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Feb 4, 2021 · Fundamentals

How to Correctly Create and Use BigDecimal in Java for Precise Calculations

BigDecimal provides precise arithmetic in Java, but its correct usage requires understanding its internal unscaled value and scale, avoiding the inaccurate BigDecimal(double) constructor, and preferring String or valueOf methods to accurately represent decimal numbers such as 0.1 in financial and e‑commerce applications.

BigDecimalFinancialfloating-point
0 likes · 9 min read
How to Correctly Create and Use BigDecimal in Java for Precise Calculations
Liangxu Linux
Liangxu Linux
Nov 4, 2020 · Fundamentals

Why 0.2 + 0.1 Equals 0.30000000000000004 in JavaScript and How IEEE‑754 Handles Decimal Fractions

JavaScript’s 0.2 + 0.1 yielding 0.30000000000000004 stems from binary floating‑point representation, where many decimal fractions cannot be expressed exactly; the article explains decimal‑to‑binary conversion, the repeating binary of 0.1, IEEE‑754 format, and how to avoid precision loss using BigDecimal in Java.

BigDecimalIEEE-754JavaScript
0 likes · 9 min read
Why 0.2 + 0.1 Equals 0.30000000000000004 in JavaScript and How IEEE‑754 Handles Decimal Fractions
Beike Product & Technology
Beike Product & Technology
Oct 14, 2020 · Fundamentals

Understanding IEEE‑754 Floating‑Point Precision Issues in JavaScript

This article explains why JavaScript’s Number type, which follows the IEEE‑754 double‑precision standard, can produce unexpected results such as 0.1 + 0.2 = 0.30000000000000004, demonstrates the binary representation of numbers like 2.5 and 0.1, and offers practical techniques and libraries to mitigate floating‑point errors.

IEEE754JavaScriptbig-number
0 likes · 8 min read
Understanding IEEE‑754 Floating‑Point Precision Issues in JavaScript
58UXD
58UXD
Sep 10, 2020 · Product Management

How a Fruit Store Story Reveals the Secrets of Search Recall and Precision

Using a fruit shop analogy, the article explains recall and precision metrics, illustrates their impact on recruitment search, and presents a matrix of design patterns—including cross‑database search, preset search sets, and matching labels—to boost both recall and accuracy while maintaining user experience.

Design PatternsUser experienceprecision
0 likes · 14 min read
How a Fruit Store Story Reveals the Secrets of Search Recall and Precision
Programmer DD
Programmer DD
Aug 21, 2020 · Backend Development

Master Precise Calculations in Java: A Deep Dive into BigDecimal

This article explains Java's BigDecimal class, covering its purpose, constructors, common methods, formatting techniques, handling of non‑terminating division, and best‑practice recommendations, while providing clear code examples and practical tips for accurate high‑precision arithmetic.

ArithmeticBigDecimalNumberFormat
0 likes · 19 min read
Master Precise Calculations in Java: A Deep Dive into BigDecimal
Selected Java Interview Questions
Selected Java Interview Questions
May 30, 2020 · Backend Development

Understanding Precision Loss in Java's BigDecimal and Proper Usage

The article explains why floating‑point arithmetic in Java loses precision, demonstrates how even BigDecimal can suffer when constructed from double values, and shows the correct practice of using the BigDecimal(String) constructor together with utility methods to perform accurate monetary calculations.

BigDecimalMonetary Calculationsfloating-point
0 likes · 9 min read
Understanding Precision Loss in Java's BigDecimal and Proper Usage
Programmer DD
Programmer DD
Oct 12, 2019 · Fundamentals

Mastering Java BigDecimal: Precise Arithmetic, APIs, and Best Practices

This article explains why commercial calculations should use Java's BigDecimal for exact decimal arithmetic, details its structure, shows how to construct instances safely, covers common API methods, rounding modes, number formatting, and provides practical code examples.

APIArithmeticBigDecimal
0 likes · 12 min read
Mastering Java BigDecimal: Precise Arithmetic, APIs, and Best Practices
JD Tech Talk
JD Tech Talk
Mar 29, 2019 · Artificial Intelligence

Understanding Confusion Matrix, ROC Curve, and Evaluation Metrics for Binary Classification Models

After building a binary classification model, this article explains essential evaluation tools such as the confusion matrix, derived metrics like accuracy, precision, recall, F1 score, and the ROC curve, illustrating their definitions, visualizations, and practical considerations for different business scenarios.

Evaluation MetricsF1 scoreROC curve
0 likes · 6 min read
Understanding Confusion Matrix, ROC Curve, and Evaluation Metrics for Binary Classification Models
System Architect Go
System Architect Go
Dec 22, 2017 · Fundamentals

Understanding Floating-Point Precision Issues and Practical Solutions in Programming Languages

This article explains why all IEEE‑754 based languages suffer from floating‑point precision errors, illustrates common problematic calculations, and presents integer‑conversion techniques and library recommendations such as decimal.js to achieve accurate numeric results, especially for financial computations.

JavaScriptdecimal.jsfloating-point
0 likes · 4 min read
Understanding Floating-Point Precision Issues and Practical Solutions in Programming Languages