> For the complete documentation index, see [llms.txt](https://documentation.soulver.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.soulver.app/fr/reference-de-syntaxe/general/logarithms-and-roots.md).

# Logarithmes et racines

### Racine Carrée et Cube

| Fonction | Nom            | Comportement                                        |
| -------- | -------------- | --------------------------------------------------- |
| sqrt()   | Racine Carrée  | Retourne la racine carrée d'un nombre (également √) |
| cbrt()   | Racine Cubique | Retourne la racine cubique d'un nombre              |

```
sqrt(16)          | 4
cbrt(343)         | 7

racine carrée de 81 | 9
racine cubique de 27 | 3
```

### N-ième racine

```
racine 5 de 100 | 2.5118864315
```

### Logarithmes

| Fonction       | Nom                   | Comportement                                                                                                           |
| -------------- | --------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| exp()          | Exponentielle         | Calcule la valeur de e à la puissance de x, où e est la base du logarithme naturel. exp(1) retourne le nombre d'Euler. |
| ln()           | Logarithme naturel    | Le logarithme naturel d'un nombre est son logarithme en base de la constante mathématique e.                           |
| log2()         | Logarithme en base 2  | Calcule le logarithme en base 2 d'une valeur                                                                           |
| log(), log10() | Logarithme en base 10 | Calcule le logarithme en base 10 d'une valeur                                                                          |

### Log en base quelconque

```
log 20 base 4 | 2.1609640474
```

Vous pouvez également utiliser des phrases plus naturelles pour cette opération :

```
81 est à quelle puissance de 9 | 2
27 est à quelle puissance de 3 | 3
```

### Factorielle et Valeur Absolue

| Fonction | Nom            | Comportement                                                                         |
| -------- | -------------- | ------------------------------------------------------------------------------------ |
| abs()    | Valeur absolue | Retourne la valeur absolue d'un nombre (c'est-à-dire rend un nombre négatif positif) |
| fact()   | Factorielle    | Retourne la factorielle d'un nombre donné.                                           |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://documentation.soulver.app/fr/reference-de-syntaxe/general/logarithms-and-roots.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
