Mobile and Desktop Processors
Intel® Core™ processors, Intel Atom® processors, tools, and utilities
16777 討論

About the precision of rounding errors

yuta9999
初學者
1,207 檢視

I have a question about the CPU.
I am a programmer and have had the opportunity to work with double type numbers.

I understand about rounding errors, but I found that the same program can have different calculation results depending on the PC environment in which it is executed.
I am unable to determine whether this difference is due to a difference in CPUs, and in the case of CPUs, I am having trouble explaining which generation the difference in results occurs from.
Is there anyone who can explain?

Note that since the environment 2 PC is used by remote connection from the environment 1 PC, the compiler and visual studio configurations are the same.

·a formula
 23×0.1

・Environment 1
Calculation result: 2.3
CPU: Core i5 8350U @1.70GHz

・Environment 2
Calculation result: 2.2999999999999545
CPU: Core i7 9750H @2.60GHz

thank you for your kindness.
Yuta

標籤 (1)
0 積分
3 回應
Jose_Intel
員工
1,175 檢視

Hello @yuta9999

 

Thank you for posting on the Intel️® communities.

 

We understand you are trying to find out why you are getting two different results, we will be more than happy to check that.

 

Please answer the following:

 

·      Do you work for or represent a company?

·      Can you share the software you use for the calculations? (Including the instructions).

·      Have you tested a third-party CPU?

 

Also, if you are using Windows, in order to have more information about your systems, please download, install and run Intel® System Support Utility for Windows. Make sure you check “Everything” before you scan, then save the report and attach it to your response.

 

If not, we have the Intel® System Support Utility for the Linux* Operating System.

 

Best regards,

Jose B.

Intel Customer Support Technician


Jose_Intel
員工
1,137 檢視

Hello yuta9999

 

We hope you are doing fine. 

 

Were you able to check the previous questions? 

Let us know if you still need assistance by attaching the required report. 

 

Best regards,  

Jose B.   

Intel Customer Support Technician 


Alberto_R_Intel
1,098 檢視

Hello yuta9999, Since we have not heard back from you, we are closing the case, but if you have any additional questions, please post them on a new thread so we can further assist you with this matter.


Regards,

Albert R.


Intel Customer Support Technician


回覆