15,388,998 members
Home / Discussions / C / C++ / MFC

# C / C++ / MFC

 Re: Will casting / passing 16 bit int as double harm FFT processing? Rick York27-Sep-14 8:02 Rick York 27-Sep-14 8:02
 Re: Will casting / passing 16 bit int as double harm FFT processing? Vaclav_27-Sep-14 9:05 Vaclav_ 27-Sep-14 9:05
 Re: Will casting / passing 16 bit int as double harm FFT processing? Richard MacCutchan27-Sep-14 22:07 Richard MacCutchan 27-Sep-14 22:07
 Re: Will casting / passing 16 bit int as double harm FFT processing? Vaclav_28-Sep-14 4:18 Vaclav_ 28-Sep-14 4:18
 Re: Will casting / passing 16 bit int as double harm FFT processing? Richard MacCutchan28-Sep-14 4:40 Richard MacCutchan 28-Sep-14 4:40
 Re: Will casting / passing 16 bit int as double harm FFT processing? Vaclav_28-Sep-14 6:10 Vaclav_ 28-Sep-14 6:10
 Re: Will casting / passing 16 bit int as double harm FFT processing? Richard MacCutchan28-Sep-14 6:41 Richard MacCutchan 28-Sep-14 6:41
 Re: Will casting / passing 16 bit int as double harm FFT processing? Vaclav_28-Sep-14 8:35 Vaclav_ 28-Sep-14 8:35
 Lets try this approach int integerValue = 233; Orignaly the integerValue valid data is 10 bits instead of full 16 It is in two 8 bits registers Only 10 bits are defined so I mask it with 0x3FF, that may be ovekill, but safe. double doubleValue = integerValue; // the integer value is converted to a double // and stored in the new variable I understand the above , I used wrong therm calling it conversion. My basic question is what is the difference between these function( doublevalue,... function( (double) integerValue,.... BTW the parameter passed is a pointer.
 Re: Will casting / passing 16 bit int as double harm FFT processing? Richard MacCutchan28-Sep-14 21:58 Richard MacCutchan 28-Sep-14 21:58
 Re: Will casting / passing 16 bit int as double harm FFT processing? Vaclav_29-Sep-14 4:06 Vaclav_ 29-Sep-14 4:06
 Re: Will casting / passing 16 bit int as double harm FFT processing? Richard MacCutchan29-Sep-14 5:27 Richard MacCutchan 29-Sep-14 5:27
 Re: Will casting / passing 16 bit int as double harm FFT processing? Albert Holguin29-Sep-14 9:36 Albert Holguin 29-Sep-14 9:36
 SOLVED Will casting / passing 16 bit int as double harm FFT processing? YES Vaclav_29-Sep-14 17:13 Vaclav_ 29-Sep-14 17:13
 Converting a string to a double Richard Andrew x6426-Sep-14 20:53 Richard Andrew x64 26-Sep-14 20:53
 Re: Converting a string to a double Richard MacCutchan26-Sep-14 21:35 Richard MacCutchan 26-Sep-14 21:35
 Re: Converting a string to a double Jochen Arndt26-Sep-14 21:41 Jochen Arndt 26-Sep-14 21:41
 Signed integers considered harmful? harold aptroot26-Sep-14 8:38 harold aptroot 26-Sep-14 8:38
 Re: Signed integers considered harmful? Chris Losinger26-Sep-14 8:46 Chris Losinger 26-Sep-14 8:46
 Re: Signed integers considered harmful? PIEBALDconsult26-Sep-14 9:02 PIEBALDconsult 26-Sep-14 9:02
 Re: Signed integers considered harmful? Richard Andrew x6426-Sep-14 9:02 Richard Andrew x64 26-Sep-14 9:02
 Re: Signed integers considered harmful? harold aptroot26-Sep-14 10:15 harold aptroot 26-Sep-14 10:15
 Re: Signed integers considered harmful? jeron126-Sep-14 9:17 jeron1 26-Sep-14 9:17
 Re: Signed integers considered harmful? Chris Losinger26-Sep-14 9:22 Chris Losinger 26-Sep-14 9:22
 Re: Signed integers considered harmful? jeron126-Sep-14 9:25 jeron1 26-Sep-14 9:25
 Re: Signed integers considered harmful? Richard Andrew x6426-Sep-14 9:34 Richard Andrew x64 26-Sep-14 9:34
 Last Visit: 31-Dec-99 18:00     Last Update: 7-Aug-22 18:07 Refresh ᐊ Prev1...473474475476477478479480481482 Next ᐅ