dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.23k stars 1.57k forks source link

Suggestion: Point supports operator/(num factor) #9226

Open DartBot opened 11 years ago

DartBot commented 11 years ago

This issue was originally filed by @tomyeh


Currently, the multiplier (operator*) is supported, but sometimes it is more convenient if there is a divider.

For example,

   pt * (1 / diff)

can be simplified to

    pt / diff

kasperl commented 11 years ago

Added Area-HTML, Triaged labels.

blois commented 11 years ago

Removed Type-Defect label. Added Type-Enhancement label.

blois commented 11 years ago

Added this to the Later milestone.

kevmoo commented 10 years ago

Removed Area-HTML label. Added Area-Library, Library-Html labels.

kasperl commented 10 years ago

Removed this from the Later milestone. Added Oldschool-Milestone-Later label.

kasperl commented 10 years ago

Removed Oldschool-Milestone-Later label.

alan-knight commented 9 years ago

dart:html now uses the dart:math Point class, so the extension would need to be done there.


Removed Library-Html label. Added Library-Math label.