_controlfp to _controlfp_s

  • Thread starter Thread starter Minieggs1999
  • Start date Start date
M

Minieggs1999

Guest
I have some old code that I'm compiling with VS2019

It contains

_controlfp(0,0)

it is advising me I should be using _controlfp_s

Is it simply a matter of replacing it with

_controlfp_s(0, 0, 0)

Thanks

Continue reading...
 
Back
Top