Commit Graph

18 Commits

Author SHA1 Message Date
flywind
0e3ea16554 use lowercase --define switches (#17283) 2021-03-07 12:08:41 +01:00
flywind
fcb5cf643c use single backtick (#17181) 2021-02-24 21:47:27 -08:00
konsumlamm
2c2baa9fad Link the <fenv.h> header (#16597) 2021-01-05 20:51:51 +01:00
flywind
cbc793b30b move tests to testament (#16101)
* move tests to testament

* minor

* fix random

* disable test random
2020-11-24 19:06:41 +01:00
Juan Carlos
46ca19ff18 Deprecate DCE:on (#13839) 2020-04-02 02:58:43 +02:00
narimiran
6c994b2498 [backport] run nimpretty on numbers stuff 2019-09-30 13:58:05 +02:00
Araq
11fca968b2 stdlib: more consistent formatting 2019-05-22 07:41:16 +02:00
Emery Hemingway
15422a3e5a Genode fixes (#10491)
Readline pasthru, add linker to config, do not pass -lm to linker.
2019-01-29 15:08:43 +01:00
alaviss
7ef268274f Haiku support for Nim (#8542)
* posix_other: Haiku now has spawn.h

This is added per https://dev.haiku-os.org/ticket/13446

* posix_other: Add Haiku specific Dirent members

* cpuinfo: Add an implementation for Haiku

* distros: Add basic Haiku support

* encodings: update Haiku support

* fenv, math: Haiku now provides libm

* times: Add Haiku struct members

* ansi_c, osalloc: Add Haiku constants

* threads: Add Haiku support

* testament: Haiku uses LIBRARY_PATH

* nim.cfg: Update Haiku support

libnetwork should only be linked if network functions are used

* threads: Haiku does not support -pthread switch

* tworkingdir: Haiku's env is in /bin

* posix_other: add SIGKILLTHR for Haiku

* sockets: link with libnetwork on Haiku

* coro: correct ucontext.h location

http://pubs.opengroup.org/onlinepubs/009696699/basedefs/ucontext.h.html

* coro: ucontext backend is not available on Haiku

Haiku doesn't provide the <ucontext.h> header, as it was removed from POSIX

* coro: fix setjmp backend

The compiler does not allow statements after a noreturn function

* nativesockets: Haiku doesn't support AI_V4MAPPED

* system: hostOS can contains "haiku"

* os: add support for Haiku's packagefs

packagefs is read-only, but there are writable holes to the underlying
file system as well

* os: update constant for Haiku
2018-08-14 09:35:07 +02:00
cooldome
c385391ffd Consts in fenv (#7688)
* Fixes #7574

* better comments

* Changes vars to consts for side effect tracking

* Revert unintended changes
2018-04-25 02:41:16 +02:00
Jacek Sieka
72dfe176f5 remove dead code elimination option (#7669) 2018-04-23 11:02:38 +02:00
def
4f8e435592 Fix fenv.fpRadix 2015-03-24 03:36:34 +01:00
Maurizio Tomasi
cf1a801e31 New template fpRadix instead of the exported var FP_RADIX 2015-03-11 11:08:37 +01:00
Maurizio Tomasi
9c113b5264 Grammar fixes in the docstrings 2015-03-05 22:38:53 +01:00
Maurizio Tomasi
bf7c342426 New templates for getting the limits of FP types added.
New variable "FP_RADIX" and new templates "mantissaDigits",
"digits", "minExponent", "maxExponent", "min10Exponent",
"max10Exponent", "minimumPositiveValue", "maximumPositiveValue", and
"epsilon" added to retrieve the limits of floating-point types.
2015-03-05 15:04:39 +01:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Araq
f7dca91344 fixes #619 2014-11-15 11:10:13 +01:00
Araq
0a2296b123 added module fenv's docs 2014-11-04 07:47:31 +01:00