danmcleran / tinymind

Tinymind is a Neural Network and Machine Learning project intended to provide a C++ template library for neural nets and machine learning algorithms within embedded systems.
MIT License
9 stars 2 forks source link

Divide not retaining sign correctly. #12

Closed danmcleran closed 1 year ago

danmcleran commented 1 year ago

When dividing -1/1 the sign is preserved correctly. When dividing 1/-1, it is not.

danmcleran commented 1 year ago

Seems to only be a problem for 128 bit types.