FIX: Floating point overflow error when you run a nested natively compiled module that uses EXP functions in SQL Server

Applies to: SQL Server 2017 DeveloperSQL Server 2017 EnterpriseSQL Server 2017 Enterprise Core


Consider the following scenario:

  • You use In-Memory OLTP in Microsoft SQL Server.

  • You create a natively compiled module, such as a natively compiled user-defined function, that uses EXP functions.

  • You refer to that natively compiled module in another natively compiled module.

In this scenario, when you run the second natively compiled module, you receive an error message that resembles the following:


This issue is fixed in the following cumulative update for SQL Server:

Cumulative Update 7 for SQL Server 2017       

Cumulative Update 1 for SQL Server 2016 SP2


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the standard terminology Microsoft uses to describe software updates.