usage of float datatype in NUCLEUS

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

Reply to
amitpal
Loading thread data ...

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

Reply to
Bruce

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.