Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
711 B

  1. /***
  2. **
  3. ** Module: Trig
  4. **
  5. ** Description:
  6. ** This is a module of the T1 to TT font converter. The module
  7. ** contains a look-up table for computing atan2() faster, and
  8. ** with less precision than that of the c run-time library.
  9. **
  10. ** Author: Michael Jansson
  11. **
  12. ** Created: 5/26/93
  13. **
  14. ***/
  15. #ifndef _ARGS
  16. # define IN const
  17. # define OUT
  18. # define INOUT
  19. # define _ARGS(arg) arg
  20. #endif
  21. #ifndef FASTCALL
  22. # ifdef MSDOS
  23. # define FASTCALL __fastcall
  24. # else
  25. # define FASTCALL
  26. # endif
  27. #endif
  28. #define PI 1024
  29. #define PI2 512
  30. #define PI4 256
  31. /***
  32. ** Function: Atan2
  33. **
  34. ** Description:
  35. ** Compute atan2()
  36. ***/
  37. int FASTCALL Atan2 _ARGS((IN int dy, IN int dx));