Click here to Skip to main content
15,881,248 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Socket Programming(UDP) Pin
A_Fa28-Sep-14 22:17
A_Fa28-Sep-14 22:17 
GeneralRe: Socket Programming(UDP) Pin
Richard MacCutchan28-Sep-14 22:30
mveRichard MacCutchan28-Sep-14 22:30 
Questionmatrix svd decomposition problem Pin
includeh1028-Sep-14 11:29
includeh1028-Sep-14 11:29 
AnswerRe: matrix svd decomposition problem Pin
Richard MacCutchan28-Sep-14 22:01
mveRichard MacCutchan28-Sep-14 22:01 
AnswerRe: matrix svd decomposition problem Pin
CPallini28-Sep-14 22:01
mveCPallini28-Sep-14 22:01 
GeneralRe: matrix svd decomposition problem Pin
includeh1029-Sep-14 4:17
includeh1029-Sep-14 4:17 
GeneralRe: matrix svd decomposition problem Pin
CPallini29-Sep-14 5:17
mveCPallini29-Sep-14 5:17 
QuestionWill casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_27-Sep-14 6:33
Vaclav_27-Sep-14 6:33 
I am getting back into “real coding” and as usual have academic question, I hope.
I am collecting raw data from 10 bits A/D - in uint16_t.
The FFT class I am using uses double to calculate stuff.
My silly question is – should I build overloaded function(s) using double type of variable or can I just cast the raw data as (double) function parameter?
Will casting do much damage to FFT processing?

Since I don't know how the processed data should look like, I need to make sure using casts is OK or not..

Thanks for your time and help
Cheers Vaclav
AnswerRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Rick York27-Sep-14 8:02
mveRick York27-Sep-14 8:02 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_27-Sep-14 9:05
Vaclav_27-Sep-14 9:05 
AnswerRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Richard MacCutchan27-Sep-14 22:07
mveRichard MacCutchan27-Sep-14 22:07 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_28-Sep-14 4:18
Vaclav_28-Sep-14 4:18 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Richard MacCutchan28-Sep-14 4:40
mveRichard MacCutchan28-Sep-14 4:40 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_28-Sep-14 6:10
Vaclav_28-Sep-14 6:10 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Richard MacCutchan28-Sep-14 6:41
mveRichard MacCutchan28-Sep-14 6:41 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_28-Sep-14 8:35
Vaclav_28-Sep-14 8:35 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Richard MacCutchan28-Sep-14 21:58
mveRichard MacCutchan28-Sep-14 21:58 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_29-Sep-14 4:06
Vaclav_29-Sep-14 4:06 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Richard MacCutchan29-Sep-14 5:27
mveRichard MacCutchan29-Sep-14 5:27 
AnswerRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Albert Holguin29-Sep-14 9:36
professionalAlbert Holguin29-Sep-14 9:36 
GeneralSOLVED Will casting / passing 16 bit int as double harm FFT processing? YES Pin
Vaclav_29-Sep-14 17:13
Vaclav_29-Sep-14 17:13 
QuestionConverting a string to a double Pin
Richard Andrew x6426-Sep-14 20:53
professionalRichard Andrew x6426-Sep-14 20:53 
AnswerRe: Converting a string to a double Pin
Richard MacCutchan26-Sep-14 21:35
mveRichard MacCutchan26-Sep-14 21:35 
AnswerRe: Converting a string to a double Pin
Jochen Arndt26-Sep-14 21:41
professionalJochen Arndt26-Sep-14 21:41 
QuestionSigned integers considered harmful? Pin
harold aptroot26-Sep-14 8:38
harold aptroot26-Sep-14 8:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.