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 @@ -289,7 +289,7 @@ static cell AMX_NATIVE_CALL n_floatsin(AMX *amx,const cell *params)
289289 */
290290 REAL fA = amx_ctof (params [1 ]);
291291 fA = ToRadians (fA , params [2 ]);
292- fA = (float )sin (fA );
292+ fA = (REAL )sin (fA );
293293 (void )amx ;
294294 return amx_ftoc (fA );
295295}
@@ -304,7 +304,7 @@ static cell AMX_NATIVE_CALL n_floatcos(AMX *amx,const cell *params)
304304 */
305305 REAL fA = amx_ctof (params [1 ]);
306306 fA = ToRadians (fA , params [2 ]);
307- fA = (float )cos (fA );
307+ fA = (REAL )cos (fA );
308308 (void )amx ;
309309 return amx_ftoc (fA );
310310}
@@ -319,7 +319,7 @@ static cell AMX_NATIVE_CALL n_floattan(AMX *amx,const cell *params)
319319 */
320320 REAL fA = amx_ctof (params [1 ]);
321321 fA = ToRadians (fA , params [2 ]);
322- fA = (float )tan (fA );
322+ fA = (REAL )tan (fA );
323323 (void )amx ;
324324 return amx_ftoc (fA );
325325}
You can’t perform that action at this time.
0 commit comments