14 lines
487 B
YAML
14 lines
487 B
YAML
define: DUK_USE_MATH_FMAX
|
|
introduced: 1.0.0
|
|
removed: 2.0.0
|
|
default: true
|
|
tags:
|
|
- portability
|
|
description: >
|
|
Assume platform function fmax() is available and works correctly.
|
|
Some platforms don't have fmax() (it is defined in C99) and on some
|
|
platforms (e.g. some uclibc environments) it may not be provided even
|
|
though the compilation environment is nominally C99.
|
|
|
|
Removed in Duktape 2.0.0: if the platform doesn't have fmax(), simply
|
|
define a replacement for DUK_FMAX().
|