usage of float datatype in NUCLEUS

May 03, 2006 1 Replies

hi i hav just started working in nucleus environment. Can anyone help me out working with FLOAT and DOUBLE datatypes ? these datatypes are not avalbl in the nucleus.h file.................so how can i use these datatype ????



Thanks in advance



--amit



float and double are C keywords and do not belong to the RTOS (ever). FLOAT and DOUBLE probably exist from some earlier project (if case is indeed the issue in your code). If you have a lot of existing code with FLOAT and DOUBLE, just create a typedef for each. Of course, you can always just change the case on all of these with a multi-file search and replace.

Bruce

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required