Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to change floating point model

Running my game today in the "Development Editor" configuration I encountered bugs that weren't present in the "DebugGame Editor" configuration, which I tracked down to floating point issues caused by the /fp:fast floating point model compiler flag in the former configuration in contrast to the /fp:precise flag in the latter.

Now I want to change the floating point model (preferably only for my game module) in the Shipping and Development configurations, but I don't know where to do this.

Any help is appreciated.

Product Version: UE 4.18
more ▼

asked Nov 14 '17 at 07:12 PM in C++ Programming

avatar image

1 1 2

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I don't think there is way, i don't see way to edit arguments directly and configuration configs are not tied in the way to effectivily control perticilar once you looking for. Look up here:


So most likely you will need to edit UBT code

more ▼

answered Nov 14 '17 at 10:59 PM

avatar image

32.6k 915 162 1080

avatar image YannikL Nov 16 '17 at 04:55 PM

Thank you for your answer! Yesterday I looked into the config options as well and I suspect that you are right and that I need to change the UBT code. For testing purposes I completely removed the

 if (!WindowsPlatform.bCompileWithICL)
     // Relaxes floating point precision semantics to allow more optimization.

part and after recompiling the engine it seems as if the bug has gone. However, the result is still slightly different from when run on a standard vc project configuration, so there might be another difference in the compiler arguments or a bug in my code.

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question