From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_05,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e7b0825eca61cc23,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g43g2000cwa.googlegroups.com!not-for-mail From: riya1012@gmail.com Newsgroups: comp.lang.ada Subject: floating point to fixed point conversion Date: 21 Feb 2006 14:15:57 -0800 Organization: http://groups.google.com Message-ID: <1140560157.376760.292570@g43g2000cwa.googlegroups.com> NNTP-Posting-Host: 71.228.160.156 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1140560164 16110 127.0.0.1 (21 Feb 2006 22:16:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 21 Feb 2006 22:16:04 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g43g2000cwa.googlegroups.com; posting-host=71.228.160.156; posting-account=f9mAnA0AAAAwkNwTjdSjb-DkkJvgPGh1 Xref: g2news1.google.com comp.lang.ada:3048 Date: 2006-02-21T14:15:57-08:00 List-Id: hello guys, I need some help from you. I am doing a DSP project and for that I need to do some C coding for the conversion of sample data which is in floating point representation to fixed point representation. the sample data is in floating point like 0.224128 2.299965 0.448350 -1.779926 My DSP algorithm is implemented in C and is supposed to be using fixed point representation. The above data is intended to be converted to fixed integer format.I request you to help me out regarding this conversion.I will be very glad if u give me some hints or algorithms for this conversion.