Skip to content

Commit cda8b24

Browse files
authored
update docs regarding libm (#5218)
1 parent 49d6afa commit cda8b24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/advanced/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ cmake -B build -DUSE_CUDA=1 -DCMAKE_CUDA_COMPILER=${path to cuda toolkit}/bin/nv
9393

9494
## Build math library from source
9595

96-
> Note: This flag is **enabled by default**. It will get better performance than the standard implementation on `gcc` and `clang`. But it **will be disabled** when using `Intel Compiler` since the math functions will get wrong results and the performance is also unexpectly poor.
96+
> Note: We recommend using the latest available compiler sets, since they offer faster implementations of math functions.
9797
98-
To build math functions from source code, instead of using c++ standard implementation, define `USE_ABACUS_LIBM` flag.
98+
This flag is disabled by default. To build math functions from source code, define `USE_ABACUS_LIBM` flag. It is expected to get a better performance on legacy versions of `gcc` and `clang`.
9999

100100
Currently supported math functions:
101101
`sin`, `cos`, `sincos`, `exp`, `cexp`

0 commit comments

Comments
 (0)