# Correct floating point arithmetic

**URL:** <https://swi-prolog.discourse.group/t/correct-floating-point-arithmetic/5857>\
**Category:** Discussion\
**Created:** [October 15, 2022, 4:03pm UTC](https://swi-prolog.discourse.group/t/correct-floating-point-arithmetic/5857 "2022-10-15T16:03:49Z")\
**Posts on this page:** 1\
**Showing post:** 95

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [July 17, 2026, 8:09am UTC](https://swi-prolog.discourse.group/t/correct-floating-point-arithmetic/5857/95 "2026-07-17T08:09:14Z")

</div>

> [@jan](#):
>
> My AI is better than yours 🙂

There are several practical reasons your results may be better than those reported by many other users.

You tend to use Anthropic’s strongest available model, which also provides a larger context window. Claude may therefore be able to consider more project material during a session.

It may also benefit from the project-specific information accumulated in its auto-memory files under:

`~/.claude/projects/<project>/memory/`

Those files can preserve useful context from your extensive work with SWI-Prolog, giving Claude a stronger starting point than a user beginning with little or no saved project context.

Your prompting has also likely become more precise over the last few months. Experience with how to describe SWI-Prolog problems, provide relevant constraints, and evaluate the responses can significantly improve the quality of the results.

If you are also using the [SWI-Prolog MCP](https://swi-prolog.discourse.group/t/swi-prolog-mcp-server-and-service/9716), that may be another important factor. I have not yet had an opportunity to try it.

---

_[View the full topic](https://swi-prolog.discourse.group/t/correct-floating-point-arithmetic/5857)._
