---
title: "Discussion on \"Problem with NaN equality\" | Hashnode"
description: "Discussion on \"Problem with NaN equality\". I recently encountered a bug that was caused by a special equality definition on a NaN value. NaN means not-a-number, and it's special floating-point number value, representing result of impossible operation. This issue shows how NaN can introduce ha..."
url: "https://hashnode.com/posts/problem-with-nan-equality/6645dbf084001dca5d43a33b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Problem with NaN equality](https://jindraivanek.hashnode.dev/problem-with-nan-equality?utm_source=hashnode&utm_medium=feed)

I recently encountered a bug that was caused by a special equality definition on a NaN value. NaN means not-a-number, and it's special floating-point number value, representing result of impossible operation. This issue shows how NaN can introduce ha...

May 16, 2024 · 3 min read · jindraivanek.hashnode.dev  
Read the article

-   [#fsharp](https://hashnode.com/tag/fsharp)
-   [#nan](https://hashnode.com/tag/nan)
-   [#bug](https://hashnode.com/tag/bug)
-   [#net](https://hashnode.com/tag/net)

## Written by

[Jindřich Ivánek](https://hashnode.com/@jindraivanek)

@jindraivanek · Prague, Czech Republic

  
[View profile](https://hashnode.com/@jindraivanek)

F# developer

Software developer focused mainly on F#, with a passion for functional programming, problem solving, efficient algorithms and programming languages. I have a strong computer science background, focused mainly in graph theory and graph algorithms; also was intrigued by data structures, complexity, and computability theory. Experienced with backend F# programming. I worked with mathematical optimization (mixed integer programming) and use of statistical methods as well. I contributed to several open source F# projects, mostly around developer tooling.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
