mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
FreeDV lib: use cosf and sinf to be compatible with complex<float>
This commit is contained in:
parent
89506fe368
commit
68bc8bd591
@ -25,7 +25,7 @@
|
||||
|
||||
#include "fdv_arm_math.h"
|
||||
|
||||
#define cmplx(value) (std::complex<float>{cos(value), sin(value)})
|
||||
#define cmplx(value) (std::complex<float>{cosf(value), sinf(value)})
|
||||
|
||||
namespace FreeDV
|
||||
{
|
||||
|
@ -43,8 +43,8 @@
|
||||
#define TAU (2.0f * M_PI)
|
||||
#define ROT45 (M_PI / 4.0f)
|
||||
|
||||
#define cmplx(value) (std::complex<float>{cos(value), sin(value)})
|
||||
#define cmplxconj(value) (std::complex<float>{cos(value), -sin(value)})
|
||||
#define cmplx(value) (std::complex<float>{cosf(value), sinf(value)})
|
||||
#define cmplxconj(value) (std::complex<float>{cosf(value), -sinf(value)})
|
||||
|
||||
namespace FreeDV
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user