Aug 05, 2014
12:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 05, 2014
12:51 AM
Hi all,
How can I change Rounding mode for float data type?
Is it possible?
(I use XMC4500)
BR
Koumak
How can I change Rounding mode for float data type?
Is it possible?
(I use XMC4500)
BR
Koumak
3 Replies
Aug 06, 2014
01:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 06, 2014
01:11 AM
Dear Koumak.
You may write to Rmode bitfield of FPDSCR register. This register is available in FPU_Type data structure defined in core_cm4.h.
Regards
Prakash Kalanjeri Balasubramanian
You may write to Rmode bitfield of FPDSCR register. This register is available in FPU_Type data structure defined in core_cm4.h.
Regards
Prakash Kalanjeri Balasubramanian
Not applicable
Aug 06, 2014
02:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 06, 2014
02:40 AM
Hi David,
You can use either “FPU -> FPDSCR” or “PPB -> FPDSCR” to access FPDSCR register since it is also defined in XMC4500.h under PPB_Type.
Moreover, the MVFR0 & MVFR0 registers contain a summary of supported FPU features.
Best regards,
Sophia
You can use either “FPU -> FPDSCR” or “PPB -> FPDSCR” to access FPDSCR register since it is also defined in XMC4500.h under PPB_Type.
Moreover, the MVFR0 & MVFR0 registers contain a summary of supported FPU features.
Best regards,
Sophia
Aug 08, 2014
05:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 08, 2014
05:50 AM
sophia, Prakash,
Thank you very much! 🙂
Best regards,
Koumak
Thank you very much! 🙂
Best regards,
Koumak