Project

General

Profile

Actions

Feature #18477

open

Float#sqrt and Integer#sqrt

Added by dorianmariefr (Dorian Marié) 4 months ago. Updated 4 months ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:107063]

Description

Would be nice to do:

10.sqrt # => 3.1622776601683795
3.5.sqrt # => 1.8708286933869707

Related issues 1 (1 open0 closed)

Is duplicate of Ruby master - Feature #18179: Add Math methods to NumericOpenActions

Updated by dorianmariefr (Dorian Marié) 4 months ago

Actually maybe not worth it, also there are a lot of methods from the Math module that could be done like that

Actions #3

Updated by jeremyevans0 (Jeremy Evans) 4 months ago

  • Backport deleted (2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN)
  • Tracker changed from Bug to Feature
Actions #4

Updated by mame (Yusuke Endoh) 4 months ago

Actions

Also available in: Atom PDF