Force Excel to perform single floating point calculations???

TexasEngineer

New Member
Joined
Feb 16, 2005
Messages
3
My spreadsheet has a bunch of values that I input manually.

I then ask it to perform calculations, which are equations containing of these numbers as the variables. Each equation produces a result which is used as a new variable for a following equation. and so on and so forth six times over.

I want Excel to do these calculations, but I want it to only use single floating point precision so that I can observe the round off error that will occur as a result of using all singles vs doubles.

If these equations are done default in Excel the answers are very precise, but then when I run the same calculations in an embedded software program on a microprocessor, the answers are skewed because the microcontroller only supports single floating point. I would like to use Excel to simulate calculations done in the microprocessor.

Any suggestions?
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Hi,

You could format all your cells to one decimal and set

Tools - Options - Calculation - Precision as displayed

This will affect all data in workbook.



You could also re-write all your formulas, adding round functions in them.
 
Upvote 0

Forum statistics

Threads
1,217,044
Messages
6,134,189
Members
449,862
Latest member
Muhamad Irfandi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top