File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -396,6 +396,24 @@ function SDL_round(x: cdouble): cdouble; cdecl;
396396function SDL_roundf (x: cfloat): cfloat; cdecl;
397397 external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_roundf' { $ENDIF} { $ENDIF} ;
398398
399+ (* *
400+ * Calculate x multiplied by the floating-point radix to the power of n.
401+ * On most systems, the radix is 2, making this equivalent to x*(2**n).
402+ *
403+ * \since This function is available since SDL 2.0.4.
404+ *)
405+ function SDL_scalbn (x: cdouble; n: cint): cdouble; cdecl;
406+ external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_scalbn' { $ENDIF} { $ENDIF} ;
407+
408+ (* *
409+ * Calculate x multiplied by the floating-point radix to the power of n.
410+ * On most systems, the radix is 2, making this equivalent to x*(2**n).
411+ *
412+ * \since This function is available since SDL 2.0.8.
413+ *)
414+ function SDL_scalbnf (x: cfloat; n: cint): cfloat; cdecl;
415+ external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_scalbnf' { $ENDIF} { $ENDIF} ;
416+
399417(* *
400418 * Calculate the sine of x, where x is given in radians.
401419 *
You can’t perform that action at this time.
0 commit comments