* Improve getting function to calculate the return * Add test * Format * Move to cpp to avoid FP * Format
*-PCRE