File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -211,23 +211,23 @@ threadsafe Function IsFloatingPointWave(WAVE wv)
211211
212212 variable type = WaveType ( wv)
213213
214- return ( type & IGOR_TYPE_32 BIT_FLOAT) || ( type & IGOR_TYPE_64 BIT_FLOAT)
214+ return ( type & IGOR_TYPE_32 BIT_FLOAT) == IGOR_TYPE_ 32 BIT_FLOAT || ( type & IGOR_TYPE_64 BIT_FLOAT) == IGOR_TYPE_ 64 BIT_FLOAT
215215End
216216
217217/// @brief Return 1 if the wave is a double (64bit) precision floating point wave
218218///
219219/// UTF_NOINSTRUMENTATION
220220threadsafe Function IsDoubleFloatingPointWave ( WAVE wv)
221221
222- return WaveType ( wv) & IGOR_TYPE_64 BIT_FLOAT
222+ return ( WaveType ( wv) & IGOR_TYPE_ 64 BIT_FLOAT ) == IGOR_TYPE_64 BIT_FLOAT
223223End
224224
225225/// @brief Return 1 if the wave is a single (32bit) precision floating point wave
226226///
227227/// UTF_NOINSTRUMENTATION
228228threadsafe Function IsSingleFloatingPointWave ( WAVE wv)
229229
230- return WaveType ( wv) & IGOR_TYPE_32 BIT_FLOAT
230+ return ( WaveType ( wv) & IGOR_TYPE_ 32 BIT_FLOAT ) == IGOR_TYPE_32 BIT_FLOAT
231231End
232232
233233/// @brief Return 1 if the wave is a global wave (not a null wave and not a free wave)
You can’t perform that action at this time.
0 commit comments