GPS makes small curves into straight lines. Thus the mileage calculated by a GPS will always be less than actual mileage.
If you need to satisfy your mileage OCD then you need a wheel sensor that syncs to your GPS.
Weird that people get so engrossed on how accurate it is.