Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- FPGAs and Programmable Solutions
- Intel® Quartus® Prime Software
- Need help with Binary fractions (fixed) to Decimal notation

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

04-11-2018
02:34 PM

849 Views

Need help with Binary fractions (fixed) to Decimal notation

I know the traditional way to convert binary fractions (fixed) to decimal notation. The traditional way is below:

------------------------------------------------------------------------------- [-A-] Traditional technique for converting decimal number 0.42 ------------------------------------------------------------------------------- step 1: 0.47 * 2 = 0.94 ; store integral part: 0 step 2: 0.94 * 2 = 1.88 ; store integral part: 1 step 3: 0.88 * 2 = 1.76 ; store integral part: 1 step 4: 0.76 * 2 = 1.52 ; store integral part: 1 step 5: 0.52 * 2 = 1.04 ; store integral part: 1 [-B-]final answer: 0.01111......Link Copied

0 Replies

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

For more complete information about compiler optimizations, see our Optimization Notice.