linear fit generate wrong result for 2 points data with large X

Version: 2022b

Type: Bug Fixes

Category: Analysis

Subcategory: General

Jira: ORG-24605

Old bug since Origin 8 at least. Fixed in Origin 2022b. If the data to fit only contains two points and x values are huge e.g. 1E24, linear fit failed to go through the two points.