Floating point calculations

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Submitted by Guest on Thu, 03/26/2015 - 19:24 

 

I would like to create a diagram to perform some floating point calculations. How can I set the microcontroller to do that?

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Submitted by imatalon on Thu, 03/26/2015 - 19:36.

    The type of variables is automatically defined by the block they are connected to. If you connect them to a float block (i.e. standard block) they will take on a float type. If you connect them to a scaled int block (i.e. fixed point gain) they will take on the scaled int type and scaling of that block's output.