Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Inexact representations #27

Open
willtebbutt opened this issue Jul 11, 2017 · 0 comments
Open

Inexact representations #27

willtebbutt opened this issue Jul 11, 2017 · 0 comments

Comments

@willtebbutt
Copy link
Member

willtebbutt commented Jul 11, 2017

Currently admit Integer-valued quantities to be differentiated w.r.t.. This is problematic in that the derivative a function w.r.t. an input which is an Integer is not necessary itself an Integer (or faithfully represented by one), yielding inexact conversion errors. Two possible solutions to this are:

  1. Move from Reals to AbstractFloats.
  2. Allow the gradient of an Integer-valued quantity to be represented by a Float.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant