It's a stack calculator for the unwise. Public Domain.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

31 行
903B

  1. /* config.h - Alter this file as you may need. */
  2. /* alters features to match closer to GNU dc, incompats exist */
  3. /* #define DC_COMPLY */
  4. /* Reverses the output of f */
  5. /* #define FOR_HUMANS */
  6. /* The default stack size.
  7. The suggested value is 4096 (2 11^p). */
  8. #define NS_DEFAULT_SIZE 0
  9. /* The default size of registers, multiply by sizeof mpf_t * NS_REGISTER_MAX.
  10. The suggested value is 512 (2 9^p). */
  11. #define NS_REG_SIZE 0
  12. /* The default bit precision of numbers.
  13. The high value is 4096 (2 11^p).
  14. The lower the cheaper on memory the per-number. */
  15. # define NS_DEFAULT_PREC 128
  16. /* The default formatting for all number outputs. */
  17. #define NS_FORMAT_DEC "%.Ff\n"
  18. #define NS_FORMAT NS_FORMAT_DEC
  19. /* Unless PROGN is already defined, define the programs name.
  20. Must be known and constant and compile time or it'll seem very inconsistent. */
  21. #ifndef PROGN
  22. # define PROGN "dc"
  23. #endif