Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Math.pow not implemented in VM #1758

Closed
DartBot opened this issue Feb 18, 2012 · 2 comments
Closed

Math.pow not implemented in VM #1758

DartBot opened this issue Feb 18, 2012 · 2 comments
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

Comments

@DartBot
Copy link

DartBot commented Feb 18, 2012

This issue was originally filed by swnd....@gmail.com


What steps will reproduce the problem?
1.import dart:core
2.print Math.pow method using integer value
3.run the script

What is the expected output? What do you see instead?
Expected result is integer result.
I see an exception stated that IntegerImplementation not implemented.

What version of the product are you using? On what operating system?
I am using Dart revision 4348 SDK.
My system is Ubuntu Linux 11.04 Natty Nerwhal 64-bit

Please provide any additional information below.
Here is the script:

import( 'dart:core' );

void main()
{
    print( Math.pow( 2, 2 ) );
}

Actual:
Unhandled exception:
IntegerImplementation.pow not implemented
 0. Function: 'IntegerImplementation.pow' url: 'bootstrap_impl' line:1581 col:5
 1. Function: 'MathNatives.pow' url: 'bootstrap_impl' line:1889 col:23
 2. Function: 'Math.pow' url: 'bootstrap' line:1994 col:57
 3. Function: '::main' url: '/var/www/testlab/dartproject/bug1.dart' line:6 col:20

Expected:
4

@sethladd
Copy link
Contributor

Added Area-VM, Triaged labels.
Changed the title to: "Math.pow not implemented in VM".

@ghost
Copy link

ghost commented Feb 23, 2012

Set owner to @sgmitrovic.
Added Fixed label.

@DartBot DartBot added Type-Defect area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. labels Feb 23, 2012
@DartBot DartBot assigned ghost Feb 23, 2012
copybara-service bot pushed a commit that referenced this issue Oct 19, 2022
…_stack_trace, source_maps, see, stack_trace, test, webdev

bazel_worker (https://github.com/dart-lang/bazel_worker/compare/9710de6..75a947f):
  75a947f  2022-10-18  Nate Bosch  Prepare to publish (#63)

collection (https://github.com/dart-lang/collection/compare/ca45fc4..efd709f):
  efd709f  2022-10-18  Kevin Moore  Fix doc comment references among other new lints (#253)

markdown (https://github.com/dart-lang/markdown/compare/d72ae07..93d0eee):
  93d0eee  2022-10-14  Kevin Moore  Misc package cleanup, mostly lints (#468)
  16781b6  2022-10-14  Kevin Moore  CI: update actions, add dependabot (#469)

pub_semver (https://github.com/dart-lang/pub_semver/compare/7671359..28159b8):
  28159b8  2022-10-14  Devon Carew  prep for publishing (#73)

source_map_stack_trace (https://github.com/dart-lang/source_map_stack_trace/compare/72dbf21..8d8078f):
  8d8078f  2022-10-18  Devon Carew  update ci; prep for publishing (#30)

source_maps (https://github.com/dart-lang/source_maps/compare/e93565b..c7e8963):
  c7e8963  2022-10-18  Devon Carew  adjust the min sdk we test against (#68)
  4f0b1e2  2022-10-18  Devon Carew  update ci; prep for publishing (#67)

sse (https://github.com/dart-lang/sse/compare/00084c4..283568d):
  283568d  2022-10-14  Devon Carew  update ci; prep for publishing (#64)

stack_trace (https://github.com/dart-lang/stack_trace/compare/9697e4c..dce0013):
  dce0013  2022-10-18  Kevin Moore  fix changelog link

test (https://github.com/dart-lang/test/compare/58beb14..f704d5a):
  f704d5af  2022-10-17  godofredoc  Add scorecard badge to test repo. (#1774)

webdev (https://github.com/dart-lang/webdev/compare/69aac60..5343edb):
  5343edb  2022-10-17  Elliott Brooks (she/her)  Migrate more files to null-safety (#1758)
  ce498c2  2022-10-14  Elliott Brooks (she/her)  Migrate `configuration.dart` and `shared.dart` to null-safety  (#1757)

Change-Id: I8859b1abc22f630c2136a69b0ad5a836691b9dbd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/264881
Auto-Submit: Devon Carew <devoncarew@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
This issue was closed.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Projects
None yet
Development

No branches or pull requests

2 participants