=rem #3706 Avoid loss of floating point precision in PhiAccrualFailureDe...

This is a revised pull request for ticket #3706 (supersedes pr #1830).