Computational Performance in Fintech Applications
computation Calculation Accuracy Floating-point calculations Floating-point accuracy Exact Calculations (BigDecimal, Decimal4j) Benchmark Benchmark Results Can We Sacrifice Accuracy? Real-life Example Many types of applications do not require high-performance computations because they simply perform very few or infrequent calculations. This also applies to many financial applications. However, there are financial applications, such as banking or insurance ones, that occasionally perform a significant number of computations. In this article, I will show an example of an application that calculates simulations of profits from investment funds, where the simulation latency was reduced 100-fold (in words: a hundred times). The observations made are universal and can be applied in other cases as well. Calculation Accuracy As we know, calculation accuracy depends on the data type used. In Java, for example, we have types: float , double...